[mkgmap-dev] [Patch] set map-version in img header
From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Jan 17 19:38:28 GMT 2017
Hi rheinskipper1000, thanks for testing. Reg. --marine option: Looks simple enough, so yes, that can be done. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von rheinskipper1000 at gmx.de <rheinskipper1000 at gmx.de> Gesendet: Dienstag, 17. Januar 2017 20:26:02 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header 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<mailto:GPetermann_muenchen at hotmail.com> Gesendet: Sonntag, 15. Januar 2017 09:47 An: mkgmap-dev at lists.mkgmap.org.uk<mailto: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
- 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