logo separator

[mkgmap-dev] conditional includes in style

From Andrzej Popowski popej at poczta.onet.pl on Thu Mar 27 11:15:14 GMT 2014

Hi Gerd,

here my idea:

1. Allow for nested conditions in style. For example current lines:

mkgmap:country=NLD & mkgmap:region!=* ...
mkgmap:country=NLD & mkgmap:city!=* ...

could be rewritten as:

mkgmap:country=NLD {
   do {
     mkgmap:region!=* ...
     mkgmap:city!=* ...
   }
}


2. Allow for user defined tags in mkgmap options, for example:

mkgmap.jar --style-option=topo;cycleways ...

And use them in style like tags from data:

style-option=topo { do {
  ...
  ...
}}
style-option!=cycleways { do {
  ...
  ...
}}
highway=residential & style-option=cycleways ...


-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list