logo separator

[mkgmap-dev] mkgmap rules tiny break

From Felix Hartmann extremecarver at googlemail.com on Sun Aug 30 16:12:41 BST 2009

Just as a note for people so you don't wonder why something does not 
work: Rules of the follwing type * & ( !=* | !=* ) will not work. and 
instead allways be enacted. So for example both of the follwing rules 
match even though neither route=mtb nor route=bicycle is set:
tunnel=yes & ( route!=mtb | route!=bicycle ) [0x* resolution *] will 
show up even on mtb and bicycle routes.
tunnel=yes & ( highway!=cycleway | highway!=footway ) [0x* resolution *] 
will show up even on cycleway and footway.

This works however:
tunnel=yes & ( highway!=footway ) [0x* resolution *] and rule is not 
enacted on footways.


I'm not sure that the above was really intended to be doable, and for me 
it's no big point at all, just wanted to point it out so others save 
themselves the hassle of finding the fault.



More information about the mkgmap-dev mailing list