Hi
> I have the following questions regarding the rule expressions:
>
> 1. Is the expression key=* also matching with tags created in action blocks
> of previous rules?
>
> Example (nonsense, but representative):
> highway=residential { add test=yes; }
> test=* [0x06 resolution 22] <-- not working
> But if test=* is the only expression in the rule, the tag which is
Thanks, that is a bug, the test=* should match.
I will look into fixing it.
> 2. Sometimes i have observed that if the expression key!=value is the only
> expression in a rule, the rule seems to be ignored by mkgmap (see example
> above). If i remember correctly, there were some discussions about fixing
> that behaviour.
> Is this still relevant/in progress? Please, add any hint to the
> style-manual.
It should work in other cases. The bug you discovered is a special
case where the tag is added when not present in the OSM input file.
If you find a case where it doesn't work when it is in the input file,
then let me know.
> 3. Shouldn't style-manual be updated like discussed in
> http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2010q1/007957.html ?
Thanks, this is now fixed in the doc source. The PDF should
update automatically overnight.
Best wishes
..Steve
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev