[mkgmap-dev] Why do these rules not match?
From Felix Hartmann extremecarver at gmail.com on Fri Jul 25 13:49:29 BST 2014
Only this rule is actually matching. name:int=* & name=* & (name = $name:int ) {delete name; set intnamedeleted=yes} But if I want to change it so I can filter names e.g. here: http://www.openstreetmap.org/node/369495900 In this case I want to delete name:en based on the condition that name is fully present in name:en. So I created the below rules according to the above scheme name:en=* & name=* & (name ~ '.*$name:en' ) {delete name:en; echo "Beginning name matched"} name:en=* & name=* & (name ~ '$name:en.*' ) {delete name:int; echo "end name matched"} name:en=* & name=* & (name:en ~ '.*$name' ) {delete name; echo "beginning name:int matched"} name:en=* &name=* & (name:en ~ '$name.*' ) {delete name; echo "end name:int matched"} -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org
- Previous message: [mkgmap-dev] Name Substitution not correctly working
- Next message: [mkgmap-dev] New SSL cert for svn.mkgmap.org.uk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list