Re: Suggestions on KGeography

Albert Astals Cid <[email protected]> Tue, 26 Jul 2022 00:36:02 +0200
Newsgroups gmane.comp.kde.education
Message-ID <23364289.37SpSd0taP@xps15>
El dilluns, 25 de juliol de 2022, a les 21:44:34 (CEST), Albert Astals Cid =
va=20
escriure:
> El dilluns, 25 de juliol de 2022, a les 18:41:27 (CEST), =E4=BD=95 H=C3=
=A9 =E6=B2=9B=E6=96=87 P=C3=A8iw=C3=A9n va
>=20
> escriure:
> > Hi,
> >=20
> > I am creating a series of updated maps for KGeography. I found that the=
re
> > could be some improvements.
> >=20
> > The mail system always reject my mail and call it spam.
>=20
> I don't understand why you would post to somewhere that dies in 20 hours.
> Seems like if you don't want people to read your email.
>=20
> I'm posting here the contents of that privatebin
>=20
> 1. Use TSV format instead of kgm (XML), so the file can be lighter, and I
> can easily copy-paste tables on the web; add a TSV file to contain data of
> =E2=80=9CmapFile=E2=80=9D, =E2=80=9Cname=E2=80=9D, =E2=80=9CdivisionsName=
=E2=80=9D, =E2=80=9Cauthor=E2=80=9D

=46ile size is not the problem, so i would vote no.

> 2. Have a =E2=80=9Cmaps=E2=80=9D directory alongside =E2=80=9Cflags=E2=80=
=9D and set the path of =E2=80=9CmapFile=E2=80=9D
> to it

I don't see the need. Can you explain what's the benefit?

> 3. Add a field =E2=80=9Clocale=E2=80=9D and make it filterable in =E2=80=
=9CChoose Map to Use=E2=80=9D

Maps don't have locale, can you explain what do you mean by this?

> 4. Use hex colors instead of RGB, so I just need to type in one place
> instead of three

I don't really see the issue here.

> 5. Integrate a color generator that can edit the color field, where a col=
or
> is hashed from a division name, and conflicts are avoided

Color hashing from division name is a bad idea, you want something that loo=
ks=20
good and different enough, not random colors.

> 6. Add support to WebP and AVIF formats to save space from images

This should just work if you have a modern kimageformats, but i don't see t=
he=20
point, images are a few K in size.

> 7. Zoom to the position of cursor

I guess this could make sense.

> 8. Ignore undefined colors, so I don't need to care about the varying col=
ors
> on boundaries (field =E2=80=9Cignore=E2=80=9D and divisions requiring =E2=
=80=9Cyes=E2=80=9D in it will be
> useless and can be removed)

That makes no sense, kgeography is color based, if you have random colors t=
hat=20
are ignored, kgeography can't know where you clicked.

> 9. Make the tooltip follow the cursor's location and change its content w=
hen
> the color of the pixel that the cursor points changes (icon to Wikipedia
> page will be useless and can be removed)

I'm relatively sure this would be annoying by default, but i'm not against =
it=20
as an option.

> 10. Have an option to change the font and flag size on the tooltip

Why?

Albert

>=20
> > I post them here:
> > https://privatebin.net/?71298b52c3290d02#Gg9LGLkVokMBVPUKZWmU49TmgrvYka=
bqz
> > xC NxuQ3wVm9
> > [https://privatebin.net/img/apple-touch-icon.png]<https://privatebin.ne=
t/?
> > 7
> > 1298b52c3290d02#Gg9LGLkVokMBVPUKZWmU49TmgrvYkabqzxCNxuQ3wVm9>
> > PrivateBin<https://privatebin.net/?71298b52c3290d02#Gg9LGLkVokMBVPUKZWm=
U49
> > T
> > mgrvYkabqzxCNxuQ3wVm9> Visit this link to see the note. Giving the URL =
to
> > anyone allows them to access the note, too. privatebin.net