logo separator

[mkgmap-dev] Some questions regarding rule expressions

From littlehelper berny.moser at gmx.at on Sun Mar 31 13:12:31 BST 2013

Hi, it's me again :-)

I've another question regarding the rule expressions:

What about the concatenation of expressions key!=value and key~'regex'?
Example:
   highway!=cycleway & cycleway~'opposite.*'  { ... }  [ ... ]
Result:
   Error in style: Error: (lines:139): Invalid rule expression:
(highway!=cycleway&(cycleway~'opposite.*'))

I know, the following rule makes more sense and is working as expected, but
why is the rule expression above invalid?
   highway=* & highway!=cycleway & cycleway~'opposite.*'  { ... }  [ ... ]

Thank you.



--
View this message in context: http://gis.19327.n5.nabble.com/Some-questions-regarding-rule-expressions-tp5754492p5755320.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list