
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)