logo separator

[mkgmap-dev] exclude words from city / state

From toc-rox easyclasspage at googlemail.com on Fri Dec 9 14:29:37 GMT 2011

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.



More information about the mkgmap-dev mailing list