logo separator

[mkgmap-dev] Style handling suggestion

From Ralf Kleineisel ralf at kleineisel.de on Mon Feb 9 15:11:35 GMT 2009

Steve Ratcliffe wrote:

>> Make "<tag>=yes" and "<tag>=true" synonymous, as well as "no" and "false".
>> For many tags both variants are in use and currently you need two rules
>> instead of one.
> 
> Yes I agree.  I will think of a good way of doing that.

One possibility would be to include it in the style's action blocks. If the
action blocks would support wildcards it would be possible to include two
rules at the top of the "lines", "points" and "polygons" files:

(*)=yes {set $1=true}
(*)=no  {set $1=false}

This way the whole procedure would be completely under user control.




More information about the mkgmap-dev mailing list