logo separator

[mkgmap-dev] exclude words from city / state

From Steve Ratcliffe steve at parabola.me.uk on Thu Dec 8 11:27:06 GMT 2011

On 06/12/11 15:22, toc-rox wrote:
> I want to replace "Gemeinde " and "Stadt " with nothing.
> How is it possible to combine:
> mkgmap:country=DEU&  mkgmap:city!=*&  mkgmap:admin_level8=* { set
> mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' }
> and
> mkgmap:country=DEU&  mkgmap:city!=*&  mkgmap:admin_level8=* { set
> mkgmap:city='${mkgmap:admin_level8|subst:Stadt }' }

It is possible to have many modifiers, so you can just combine them both 
in the same expression:

   ${mkgmap:admin_level8|subst:Gemeinde |subst:Stadt }

..Steve



More information about the mkgmap-dev mailing list