logo separator

[mkgmap-dev] understanding style files

From Christian H. Bruhn brogo at arcor.de on Mon Sep 3 20:59:16 BST 2012

am Freitag, 31. August 2012 um 22:12 schrieb Chris66:

> Yes this is a little bit confusing. The parser stops on the first
> *non action* rule (first rule with a [...] section).

highway=secondary { set name 'bla' }

highway=secondary { set name 'bla' } [0x04 road_class=2 road_speed=3 resolution 20]

highway=secondary [0x04 road_class=2 road_speed=3 resolution 20]

So if the first rule matches, the parser will continue. If a rule like
the second or third matches, he will stop after this rule.

Is that correct?

Christian




More information about the mkgmap-dev mailing list