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.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev