logo separator

[mkgmap-dev] improving address search

From Minko ligfietser at online.nl on Tue May 21 10:49:08 BST 2013

Some time ago Klaus suggested to remove the prefixes "Gemeinde" and "Stadt" from the address search string, see
http://www.mail-archive.com/mkgmap-dev@lists.mkgmap.org.uk/msg10981.html

Also on the osm forum someone is asking for the same while searching Austrian addresses.
See http://forum.openstreetmap.org/viewtopic.php?pid=335462#p335462

I suggested the following improvement,

mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level10=* { set mkgmap:city='${mkgmap:admin_level10|subst:Gemeinde |subst:Stadt }' }
mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde |subst:Stadt }' }

Also for Germany the default rules can be improved, any ideas?


More information about the mkgmap-dev mailing list