logo separator

[mkgmap-dev] Style processor skips rule with tags added in style

From WanMil wmgcnfg at web.de on Tue Sep 24 21:02:15 BST 2013

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
-------------- next part --------------
WAY
highway=path
name=Test

#Following action rules:
<<<lines>>>
highway=path {add test=yes}
test=* [0x8]
highway=path [0x9]

<<<results>>>
WAY 1: Line 0x8, name=<Test>, ref=<null>, res=24-24 (1/1),(20/20),


More information about the mkgmap-dev mailing list