[mkgmap-dev] Not-equal compare bug?
From Harri Suomalainen hsuomal at welho.com on Thu Jan 3 13:05:05 GMT 2019
Also this line seems to give the same error: !(highway=* & oneway=*) { deletealltags } Error in style: Error: (lines:12): Invalid rule expression: $highway!=* | $oneway!=* Hope this helps, as this is a different syntax at least and the same result is still complained of. On 1/3/19 2:35 PM, Harri Suomalainen wrote: > > 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 > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Not-equal compare bug?
- Next message: [mkgmap-dev] Not-equal compare bug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list