logo separator

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

From Andrzej Popowski popej at poczta.onet.pl on Thu Mar 16 15:30:24 GMT 2017

Hi Gerd,

if-then-else is great. The last problem with admin boundaries doesn't 
change it. We can apply the same the basic syntax for a rule, regardless 
if inside or outside of if-then-else condition and simply accept, that 
rules for boundaries can't be rewritten with if-then-else. They are 
simple rules, so no much gain anyway.

For me the primary application for if-then-else would be with 
style-option, like this:

if (mkgmap:option:...=true) then
   ...
else
   ...
end

-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list