logo separator

[mkgmap-dev] Some questions regarding rule expressions

From littlehelper berny.moser at gmx.at on Sat Mar 30 17:08:09 GMT 2013

Steve Ratcliffe wrote
>> 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.

Thank you. I'm looking forward to test it after it was fixed ;-)


Steve Ratcliffe wrote
>> 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.

The other cases seem to work as expected.


Steve Ratcliffe wrote
>> 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.

Thank you.

Greetings



--
View this message in context: http://gis.19327.n5.nabble.com/Some-questions-regarding-rule-expressions-tp5754492p5755260.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list