Style processor skips rule with tags added in style

Hi, I observed an unexpected behaviour of the style processor while checking the new access rules in the merge_roads branch. Assume the following way: highway=path And the lines file: highway=path {add test=yes} test=* [0x8] highway=path [0x9] I would expect that a line with garmin type 0x8 is created. But the 2nd rule is not considered and therefore a line with garmin type 0x9 is created. @Steve: Can you have a look at it? Attached you find the described test case. The merge_roads branch makes extended usage of such a pattern (see the inc/access file). Thanks! WanMil

On 24/09/13 21:02, WanMil wrote:
@Steve: Can you have a look at it? Attached you find the described test case.
Thanks. This has been reported before and I took a look at the time but didn't find a good solution. I have a patch but it only contains a test case too! I'll take a fresh look. ..Steve

@Steve: Can you have a look at it? Attached you find the described test case.
Thanks. This has been reported before and I took a look at the time but didn't find a good solution. I have a patch but it only contains a test case too!
I'll take a fresh look.
..Steve
Thanks! I've added a workaround to the style in the branch which should fix it for ways with a highway tag. Anyhow it would be nice to fix it in the style system. Have fun! WanMil
participants (2)
-
Steve Ratcliffe
-
WanMil