
I have a suggestion for the handling of tag rules in the style rule files: 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.

On Fri, Feb 06, 2009 at 03:06:55PM +0100, Ralf Kleineisel wrote:
I have a suggestion for the handling of tag rules in the style rule files:
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. ..Steve

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.
participants (2)
-
Ralf Kleineisel
-
Steve Ratcliffe