logo separator

[mkgmap-dev] [Patch] set map-version in img header

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Jan 19 15:10:48 GMT 2017

Hi,

the attached patch changes the TRE header  to 1,4,23 as supposed by Andrzej.
A binary based on r3759 is here:
http://files.mkgmap.org.uk/download/328/mkgmap.jar

I did not test if it has an effect on routing or anything else.
If I here no complains I'll commit the change next monday.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von rheinskipper1000 at gmx.de <rheinskipper1000 at gmx.de>
Gesendet: Donnerstag, 19. Januar 2017 11:07:01
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

Thank you for clarifying this.

An option to set these bytes to 1,4,23 would be sufficient for me. Of course I don´t mind the name of the option.

Thanks in advance for implementing.


Von: Andrzej Popowski<mailto:popej at poczta.onet.pl>
Gesendet: Dienstag, 17. Januar 2017 20:58
An: mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

Hi,

I suggest to call this option --custom or --mpc, instead of --marine.
The patch sets some value in TRE header, which are used by custom maps
created by Garmin's Map Product Creator. Current values used by mkgmap
(1,3,17) are like in City Navigator maps. Values for custom map (1,4,23)
are quite universal, work for hiking, car and marine GPS. Real marine
maps uses again some other values, for example (0,6,29).

I think mkgmap can switch to values (1,4,23) for default and maybe
support option --city-navigator or --car-route to set values (1,3,17).

--
Best regards,
Andrzej
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: treHeader.patch
Type: application/x-download
Size: 485 bytes
Desc: treHeader.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170119/d8ead3cc/attachment.bin>


More information about the mkgmap-dev mailing list