logo separator

[mkgmap-dev] Don't let action rule execute its actions if its type isn't going to be used

From Clinton Gladstone clinton.gladstone at googlemail.com on Sun Nov 29 23:58:41 GMT 2009

On Nov 30, 2009, at 0:41, Felix Hartmann wrote:

> it's not that difficult.
> if I put highway=* & oneway=yes {set oneway=-1}[0x01 road_class=0 road_speed=0 resolution 24 continue]
> oneway=-1 will not be remembered and only the way I used up here will be reversed

Ah, I think, as they say, "the penny has dropped". 

In other words, the action is executed, but only for the copied way and not for the other subsequent matches. 

And "continue with_actions" will execute the action for the original way, which will cause all matches to receive the effect of the action. (For example, all matches would get oneway=-1)

Is this a reasonable understanding of the function?


More information about the mkgmap-dev mailing list