[mkgmap-dev] Not-equal compare bug?
From Ralf Kleineisel ralf at kleineisel.de on Fri Jan 4 21:00:56 GMT 2019
On 1/3/19 1:35 PM, Harri Suomalainen wrote: > Do I missunderstand something or is this a bug? I think it's a bug. The same problem occurs with the "if .. then" syntax: This works: if (railway=*) then if (tunnel=yes) then () {delete railway} else railway=rail [0x14 resolution 21] railway=tram [0x14 resolution 22] end This does not: if (railway=*) then if (tunnel!=yes) then railway=rail [0x14 resolution 21] railway=tram [0x14 resolution 22] end end "Error in style: Error: (lines:196): Invalid rule expression: $tunnel!=yes" This also does not work: if (railway=* & tunnel!=yes) then railway=rail [0x14 resolution 21] railway=tram [0x14 resolution 22] end You cannot use the "!=" test in "if .. then" syntax at all as far as I can tell.
- 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