[mkgmap-dev] [Patch v4] drive-on-left/drive-on-right handling
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Dec 3 11:42:22 GMT 2014
Hi all, attached is v4 of the patch. The drive-on parameter now accepts the following values: left|right|detect|detect,left|detect,right - detect is equal to detect,right - with detect all roads are counted to find out whether the map is a drive-on-left or drive-on-right map - if the detection doesn't return a clear result, the 2nd option is used - the polish reader only checks the "LeftSideTraffic" string, it doesn't count anything (for now) @Steve, WanMil: I've added methods getDriveOnLeft() to MapperBasedMapDataSource and use it in MapBuilder before a TREFile or NODFile is written to configure the corresponding flags. Classes that are able to detect the dr I think this is a bit cleaner compared to v3 and to trunk. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141203/6e3fca5a/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: driving-side-v4.patch Type: application/octet-stream Size: 40709 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141203/6e3fca5a/attachment-0001.obj>
- Previous message: [mkgmap-dev] [Patch v3] drive-on-left/drive-on-right handling
- Next message: [mkgmap-dev] [Patch v4] drive-on-left/drive-on-right handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list