logo separator

[mkgmap-dev] Country names

From WanMil wmgcnfg at web.de on Thu Jun 9 18:39:57 BST 2011

Hi all,

I am thinking about the country names that mkgmap puts into the map.

(The following lines are valid for the locator branch but the 
differences to the trunk are quite small)

At the moment the country name is taken from the country relation using 
the tag order defined by the name-tag-list option. This name is looked 
up in the LocatorConfig.xml. If there is a match (there should be one), 
the name defined in the LocatorConfig.xml is used as map wide country name.
There is the shortcoming that this name need not be the same as 
specified by the name-tag-list option. So there is some work to do if 
you want to build a french map that uses french country names only.

Would it make sense to use the LocatorConfig.xml just as a mapping tool 
for the three letter code (name:en => three letter code) and the real 
name is taken as defined by the name-tag-list option?
This has the shortcoming that the relation names contains some 
administrative stuff "Federal Republic of Germany" instead of "Germany".

Any thoughts?


More information about the mkgmap-dev mailing list