logo separator

[mkgmap-dev] Address search issues

From Minko ligfietser at online.nl on Fri Apr 1 08:07:21 BST 2011

For generating the Benelux cycling maps of openfietsmap.nl, I've been using mkgmap-locator-r1901.jar. Since there are 5 different countries in my map, and the country assignment doesn't work very well (multipolygon relation too big?), I skipped them in my styles. This shows an empty button in the which country menu, http://img21.imageshack.us/img21/4263/adressearch.png

For the regions (Provinces) the same problems with assignment occur so I rahter skip them too. I use these settings, which works very well as far as I have tested with streets in the Netherlands: 

mkgmap:city!=* & openGeoDB:name=* { set mkgmap:city='${openGeoDB:name}' } 
mkgmap:city!=* & is_in:city=* { set mkgmap:city='${is_in:city}' }
mkgmap:city!=* & addr:city=* { set mkgmap:city='${addr:city}' }

mkgmap:city!=* & mkgmap:admin_level10=* { set mkgmap:city='${mkgmap:admin_level10}' } 
mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } 
mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' } 

Admin_level=10 is the most important level for assigning streetnames to placenames, and this works much better with the locator.jar  than the default mkgmap.jar

I'm not sure what the best settings are for Germany, maybe someone can have a look at my map since it contains a wide German border area too. See http://www.openfietsmap.nl




More information about the mkgmap-dev mailing list