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 <[email protected]> im Auftrag von 
[email protected] <[email protected]>
Gesendet: Donnerstag, 19. Januar 2017 11:07:01
An: [email protected]
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:[email protected]>
Gesendet: Dienstag, 17. Januar 2017 20:58
An: [email protected]<mailto:[email protected]>
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
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Attachment: treHeader.patch
Description: treHeader.patch

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to