logo separator

[mkgmap-dev] if-then-else in style and style options

From Andrzej Popowski popej at poczta.onet.pl on Thu Mar 9 13:57:11 GMT 2017

Hi Gerd,

I don't think that kind of expression is necessary, unless it speeds up 
compilation, which it probably doesn't in current implementation. But it 
would be nice to have it. Maybe using keyword "apply" would help? 
Similarly like in relations.

Just another thought, could we get following syntax:
junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c 
road_class=4 road_speed=2 resolution 24][0x10801 resolution 18]

instead of 2 rules:
junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c 
road_class=4 road_speed=2 resolution 24 continue]
junction=roundabout & (highway=trunk | highway=trunk_link) [0x10801 
resolution 18]

-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list