[mkgmap-dev] exclude words from city / state
From Thorsten Kukuk kukuk at suse.de on Thu Dec 8 15:44:26 GMT 2011
On Thu, Dec 08, Steve Ratcliffe wrote: > 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 } Ok, that's works, too, and doesn't need a patched mkgmap. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
- 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