Am 31.08.2012 21:48, schrieb Christian H. Bruhn:
>>> highway=secondary { name 'bla' }
>>> highway=* { name 'blupp' }
>>>
>>> are*both* lines executed for a secondary or only the first one ?
>
>> Both are executed, but 'name' has no effect if the name has already
>> been set. So the result would be 'bla'.
>
> But then [1] is not correct. There it says that after the first rule
> matches no other rules are tested.
>
> [1] http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules#continue
Yes this is a little bit confusing. The parser stops on the first
*non action* rule (first rule with a [...] section).
Chris
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev