[Marble-devel] Patch for including Geonames.org data
Torsten Rahn
tackat at t-online.de
Mon May 17 11:42:43 CEST 2010
Hi,
It would be nice if you'd split the KML data part off from the patch and if you'd
put these patches onto reviewboard.
The patch is definitely a very cool start. :-)
There are still a few issues as Bastian already pointed out:
The current dataset is using the "latinized" local name of each city.
I think a better idea since we start with Geonames.org support would be to aim
for two primary name tags:
- English name of the location (that basically means latin1 encoding)
- local name (stored in Unicode, so for russian names it would be cyrillic,
Chinese cities would be displayed in chinese, etc.).
Once those two are supported we can aim for having support for translations of
the english name.
To store anything beyond the (english) <name> of a city I suggest that you use
the ExtendedData inside the placemark for all additional data:
http://code.google.com/intl/de-
DE/apis/kml/documentation/kmlreference.html#extendeddata
(like Unicode representation, translations in other languages, etc.).
We might likely need this for TimeSupport even. So it's worth looking at it. :-)
Nevertheless: Good start! :-)
Torsten
On Sunday 16 May 2010 22:06:28 Harshit Jain wrote:
> Hi,
>
> This is the patch to include data from geonames.org. Asciiname and
> elevation data will also be used by marble through this patch. This patch
> will use asciiname instead of name of Placemarks for Wikipedia's url.
> Kindly note that this patch does not contain the newly created cache files.
> Hope you will like it :)
More information about the Marble-devel
mailing list