[mkgmap-dev] [Patch] set map-version in img header
From rheinskipper1000 at gmx.de rheinskipper1000 at gmx.de on Tue Jan 17 19:26:02 GMT 2017
Hi Gerd, I could not test it on my GPS, yet. But your option works well for my map on Homeport. I set option --map-version=17.01 and Homeport shows v17.01 GMapTool also reports correct version: Datei: G:/garmin/gmapsupp.img, Länge 1940029440 Header: 17.01.2017 18:09:28, DSKIMG, XOR 00, V 17.01, Ms 0 Mapset: OpenSeaMap_EuCentral Fat: 400h - 600h - 80000h, Block 32768 Maps: 322, Subdateien 962 One more question: Could your perhaps also implement an option --marine to set marine header? Currently I have to patch headers using this tool: https://github.com/OpenSeaMap/garmin/tree/master/gmarine But this is slow. It would be much better to have an option for that. Thanks Von: Gerd Petermann Gesendet: Sonntag, 15. Januar 2017 09:47 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: [mkgmap-dev] [Patch] set map-version in img header Hi all, the attached patch implements new option map-version: --map-version=major.minor The map version is written into the header of each *.img file at offset 8 and 9. Defailt is 0.0. Both major and minor values must be between 0 and 255 (including). Example: --map-version=1.7 (same as --map-version=01.07) A binary based on r3753 is here: http://files.mkgmap.org.uk/download/326/mkgmap.jar I seem to have no Garmin software that displays this version, so I don't know for sure what the meaning is. Please suggest better option name or description if you know more. Gerd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170117/c268e606/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: version.JPG Type: image/jpeg Size: 17491 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170117/c268e606/attachment-0001.jpe>
- Previous message: [mkgmap-dev] [Patch] set map-version in img header
- Next message: [mkgmap-dev] [Patch] set map-version in img header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list