logo separator

[mkgmap-dev] understanding style files

From Chris66 chris66nrw at gmx.de on Fri Aug 31 21:12:16 BST 2012

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




More information about the mkgmap-dev mailing list