[mkgmap-dev] exclude words from city / state
From Marko Mäkelä marko.makela at iki.fi on Sat Dec 10 07:03:16 GMT 2011
On Fri, Dec 09, 2011 at 06:29:37AM -0800, toc-rox wrote: >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. Would it make sense to include this in the default style? I think that it should be something like this (no need for the regexps): mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8=* {set mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde |subst:Stadt }'} Best regards, Marko
- Previous message: [mkgmap-dev] exclude words from city / state
- Next message: [mkgmap-dev] exclude words from city / state
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list