[mkgmap-dev] [Patch v1] simplify address rules
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Jun 6 10:45:08 BST 2015
Hi all, attached is a patch that removes all rules which I think are superfluous. I've also attached the modified inc/address file. My understanding is that country specific rules should only be used when the general rules don't work. It makes no sense to have a specific rule mkgmap:country=BEL & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } when the next possible match is the general rule mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } Or is this meant as some kind of documentation (meaning we have verified these rules for Belgium) ? Gerd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150606/057d5071/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: address Type: application/octet-stream Size: 7528 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150606/057d5071/attachment-0002.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: simplify-address-v1.patch Type: application/octet-stream Size: 5970 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150606/057d5071/attachment-0003.obj>
- Previous message: [mkgmap-dev] Commit: r3610: remove wrong rules to set mkgmap:city for France
- Next message: [mkgmap-dev] [Patch v1] simplify address rules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list