[mkgmap-dev] Patch v3 for overview map
From GerdP gpetermann_muenchen at hotmail.com on Sun Mar 31 12:05:41 BST 2013
Hi Felix, don't worry, the wrong code was not used for the creation of maps. It shows only when creating the overview map. Gerd Felix Hartmann-2 wrote > On 31.03.2013 11:15, GerdP wrote: >> Hi List, >> >> while trying to implement a decoder for data with extended types I found >> two bugs in the version 2 of the patch: >> 1) the img format allows (normal) types 0x01 - 0x3f for lines and >> 0x01-0x7f >> for polygons, >> the original code made no destinction > Better restrict the original code in mkgmap to 0x01 - 0x3f for lines > too. Or are there any compatibility advantages on old Garmin GPS units? > AFAIK (and I'm pretty sure) Garmin themselves never used 0x4 - 0x7 for > lines, but they did so for polygons (hence no compatibility problems in > this range for polygons). > Actually even 0x3 for lines has never been used by Garmin AFAIK and will > not show up on all devices. (0x2a - 0x2f I'm not sure, but wouldn't use > them either and resort to extended types - but I wouldn't exclude them > by mkgmap). I think since mkgmap supports extended types (roughly 3 > years if I remember correctly) - 0x3 and up for lines is not a good way > of creating a map which is supposed to work on all Garmin GPS devices.... >> 2) the first point of a line or shape was dropped, this caused esp. many >> lines to be missing >> in the overview map. >> >> overview_v3.patch >> <http://gis.19327.n5.nabble.com/file/n5755292/overview_v3.patch> >> >> The compiled binary is here: >> http://files.mkgmap.org.uk/download/97/mkgmap.jar >> >> Gerd >> >> >> >> -- >> View this message in context: >> http://gis.19327.n5.nabble.com/Patch-v3-for-overview-map-tp5755292.html >> Sent from the Mkgmap Development mailing list archive at Nabble.com. >> _______________________________________________ >> mkgmap-dev mailing list >> > mkgmap-dev at .org >> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > -- > keep on biking and discovering new trails > > Felix > openmtbmap.org & www.velomap.org > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- View this message in context: http://gis.19327.n5.nabble.com/Patch-v3-for-overview-map-tp5755292p5755311.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] Patch v3 for overview map
- Next message: [mkgmap-dev] Patch v3 for overview map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list