Option --map-version does not work anymore in this release.


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

Oops,

please ignore v2, it was incomplete.
Attached is v3 and here is the binary:
http://files.mkgmap.org.uk/download/330/mkgmap.jar

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Gerd 
Petermann <[email protected]>
Gesendet: Donnerstag, 19. Januar 2017 17:29:04
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

OK,

here is v2 which implements option --custom:
--custom
        Write a different TRE header (1,4,23) instead of (1,3,17). Useful
        for marine maps.
Binary:
http://files.mkgmap.org.uk/download/329/mkgmap.jar

The description is quite cryptic, so please suggest something better.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von 
[email protected] <[email protected]>
Gesendet: Donnerstag, 19. Januar 2017 17:03:01
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

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<mailto:[email protected]>
Gesendet: Donnerstag, 19. Januar 2017 16:10
An: Development list for mkgmap<mailto:[email protected]>
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 <[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



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

Reply via email to