LocatorConfig.xml and Spain

Hi list I just made a map of Spain using the newest Geofabrik spain.osm.pbf and mkgmap trunk. I set the default country to "España". After loading the map onto my Vista via MapSource, the following countries show up in address search: Es España France Spain The two in the middle are correct. But "Es" and "Spain" should have been aliased to "España" automatically. There are corresponding entries in the LocatorConfig.xml file. Does anyone have an idea why this is not working? For reference, here is the revelant snippet from LocatorConfig.xml: <country name="España" abr="ESP" poiDispFlag="0xc"> <variant>Spain</variant> <variant>ES</variant> <variant>ESP</variant> </country> - Bartosz

I've had a similar problem for Belgium. It appeared as 'Belgique' (the name in the Locator config) and as 'België - Belgique - Belgien' (the name in the admin_level 2 relation). Since I stopped using is_in and openGeoDb in my style files my problem on Belgium disappeared. Cheers, Johan On Sat, 07 May 2011 00:29:47 +0200, Bartosz Fabianowski <bartosz@fabianowski.eu> wrote:
Hi list
I just made a map of Spain using the newest Geofabrik spain.osm.pbf and mkgmap trunk. I set the default country to "España". After loading the map onto my Vista via MapSource, the following countries show up in address search:
Es España France Spain
The two in the middle are correct. But "Es" and "Spain" should have been aliased to "España" automatically. There are corresponding entries in the LocatorConfig.xml file. Does anyone have an idea why this is not working?
For reference, here is the revelant snippet from LocatorConfig.xml:
<country name="España" abr="ESP" poiDispFlag="0xc"> <variant>Spain</variant> <variant>ES</variant> <variant>ESP</variant> </country>
- Bartosz _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Since I stopped using is_in and openGeoDb in my style files my problem on Belgium disappeared.
I am sure those problematic country name variants are being read from is_in tags. So ignoring is_in will make them disappear. But I do want to use is_in, at least for now, until there is a better alternative. It is my understanding that the LocatorConfig.xml file should help to normalize country names obtained from is_in tags. And something is failing there. - Bartosz

Do you use the "standard" mkgmap or do you use a build from the locator branch? WanMil
Since I stopped using is_in and openGeoDb in my style files my problem on Belgium disappeared.
I am sure those problematic country name variants are being read from is_in tags. So ignoring is_in will make them disappear. But I do want to use is_in, at least for now, until there is a better alternative.
It is my understanding that the LocatorConfig.xml file should help to normalize country names obtained from is_in tags. And something is failing there.
- Bartosz _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Bartosz Fabianowski
-
navmaps
-
WanMil