Using mkgmap-r4260 I tried several variations to make a rule match when some tag does not exist:

Line:  ( highway!=* | oneway!=*) { deletealltags }
Error in style: Error: (lines:12): Invalid rule expression: $highway!=*| $oneway!=*

Similar error is given when comparing expression with this line: oneway!=* { deletealltags }

Tt seems != works fine but only if there is an equal comparision first like in this line that gives no error:
  highway=* & oneway !=* { deletealltags }

Do I missunderstand something or is this a bug?

I think I tried some other use case while back and I got similar errors when it started with != comparision first. This may not be a very new issue.

Chears, Harri
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to