[mkgmap-dev] [Patches] if-then and rule-index
From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Feb 25 13:52:39 GMT 2017
Hi, Attached are two patches to address some of the problems in the if-then branch. - rule_index_v1.patch: This changes the index so that the example posted here works: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2017q1/026311.html I guess it will have a small impact on performance because it is likely that more rules are evaluated. - if-then-reader-v1.patch This addresses the problems posted here: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2017q1/026290.html The unpatched code created a new ExpressionReader for the expressions in the if statement instead of using the existing one. As a result, the getUsedTags() method did not return all used tags. Gerd -------------- next part -------------- A non-text attachment was scrubbed... Name: rule_index_v1.patch Type: application/octet-stream Size: 1118 bytes Desc: rule_index_v1.patch URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170225/b4612730/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: if-then-reader-v1.patch Type: application/octet-stream Size: 4390 bytes Desc: if-then-reader-v1.patch URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170225/b4612730/attachment-0001.obj>
- Previous message: [mkgmap-dev] [Patch v1] differet Coord implementation
- Next message: [mkgmap-dev] Commit r3822: Correct style evaluation index
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list