logo separator

[mkgmap-dev] Commit r3822: Correct style evaluation index

From svn commit svn at mkgmap.org.uk on Mon Feb 27 08:37:25 GMT 2017

Version mkgmap-r3822 was committed by gerd on Mon, 27 Feb 2017

Correct style evaluation index

In special cases matching rules were not evaluated, e.g. for the following three rules
boundary=administrative { set mkgmap:if:0001=1 }
admin_level<3 & mkgmap:if:0001=1  [0x1e resolution 12]
mkgmap:if:0001!=1 & admin_level<3 [0x1f resolution 14]
a way with the tags boundary=xyz and admin_level=2 should trigger the last rule,
but it did not.

The problem was in the evaluation of so-called changable tags (mkgmap:if:0001 in this case). 
The effect of this correction is that the index returns more rules for evaluation
and probably a small increase in the run time.

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3822


More information about the mkgmap-dev mailing list