logo separator

[mkgmap-dev] style file reader error

From Steve Ratcliffe steve at parabola.me.uk on Mon Jul 31 22:54:37 BST 2017

Hi Mike

> name~'(?i)ferry terminal' & !(highway=bus_stop) {echotags 'Trigger 3'} - this works fine
> !(highway=bus_stop) & name~'(?i)ferry terminal' {echotags 'Trigger 4'} - this fails with an error "Invalid rule
> Expression" (without explaining what the error was)
> 
> Is it possible to fix this one as well?

Yes I can fix that one in exactly the same way.  Patch attached.

There are a few cases which use ! that could work but will not.

Eg !(highway!=primary) could work as it is the same as highway=primary.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not_expr.patch
Type: text/x-patch
Size: 6950 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170731/6fcc84bd/attachment.bin>


More information about the mkgmap-dev mailing list