[mkgmap-dev] [PATCH v1] exclude words from city / state
From Thorsten Kukuk kukuk at suse.de on Thu Dec 8 09:51:29 GMT 2011
On Wed, Dec 07, WanMil wrote: > Attached patch does the trick easier: > > mkgmap:country=DEU& mkgmap:city!=* { set > mkgmap:city='${mkgmap:admin_level8|remove:Gemeinde !Stadt }' } > > The filter "remove" removes all occurrences of the defined regexp. Regexps > are separated by "!". > > Please have a try. > Maybe someone has a better idea for the separator character? Big thanks! Works fine and makes the rules better maintain- and readable. The standard seperators are "|", "/", ";". I like everybody of them more than "!", which is really uncommon. 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] [PATCH v1] 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