logo separator

[mkgmap-dev] Address search issues

From Martin mkmap at snailrun.de on Fri Apr 1 08:19:17 BST 2011

For Germany I use the following settings:

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_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }
mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' }
mkgmap:city!=* & mkgmap:admin_level7=* { set mkgmap:city='${mkgmap:admin_level7}' }
mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' }
mkgmap:city!=* & mkgmap:admin_level10=* { set mkgmap:city='${mkgmap:admin_level10}' }

Maybe I will try the new locator branch but the most problems come from the splitting-process. Try to find streets within boundaries, which where splitted. I wask asking, because maybe we can fix this with a perl-script, but this will take me some time/days ;)
Maybe someone has already done this or there is a solution in development, I can wait...

Cheers
Martin


Am 01.04.2011 um 09:07 schrieb Minko:


> 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
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 




More information about the mkgmap-dev mailing list