logo separator

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

From rheinskipper1000 at gmx.de rheinskipper1000 at gmx.de on Thu Jan 19 16:03:01 GMT 2017

Permanent change instead of option? This is OK for me, but AFAIK it can change routing behaviour. So option would be saver.



Von: Gerd Petermann
Gesendet: Donnerstag, 19. Januar 2017 16:10
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

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 --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170119/956bd902/attachment-0001.html>


More information about the mkgmap-dev mailing list