Hi all,

as A drian pointed out here:

http://gis.19327.n5.nabble.com/Bug-in-handling-of-bus-stops-tp5832099.html

we have a bug in the style evaluation system. The attached patch 
makes sure that each rule is only evaluated once for one element.
If I got it right the problem occurs with rules that combine two 
"or" expressions, like 
(a | b) & ( c |  d) { do something }

A binary based on r3436 is here:

http://files.mkgmap.org.uk/download/244/mkgmap.jar

@Steve: Please review, I've added a new field "matched" to WatchableTypeResult
but I think the field "found" was  already intended for this?
Maybe you find a better place to fix this?

Gerd
                                          

Attachment: no-dup-rule-evaluation-v1.patch
Description: Binary data

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to