The following suggestions are tested and are working fine:
1. (Thorsten)
mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8~'Gemeinde.*' { set
mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' }
mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8~'Stadt.*' { set
mkgmap:city='${mkgmap:admin_level8|subst:Stadt }' }
mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8=* { set
mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' }
2. (Steve)
${mkgmap:admin_level8|subst:Gemeinde |subst:Stadt }
Thanks to Thorsten and Steve - I intend to use the last.
Klaus
@WanMil: I haven't tested your solution - but thanks for providing it.
--
View this message in context:
http://gis.638310.n2.nabble.com/exclude-words-from-city-state-tp6383160p7078372.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev