logo separator

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

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Jan 20 09:46:01 GMT 2017

Hi Andrzej,

thanks for testing, I still hesitate because I don't fully understand the meaning of those 3 bytes.
The last change was with r1003 (!):
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=1003

Log Message:
Reduce off-track distance required to trigger route re-calculation.

Changing the magic value in the TRE header from 0xd0401 to 0x110301
reduces the distance you have to wander off-track before the GPS
notices and re-calculates the route.

I found some hints here:
http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/TRE_Subfile_Format

I think we talk about the bytes at offset 43-46, esp. 43 and 44:
0x040 	3 	display priority
0x043 	1 	0x11; distance for start route recalculation
0x044 	1 	0x03; draw priority (overrules DP if set inside tdb)

Wouldn't it be better to have two distinct options for these values?
And what does "Draw Priority" mean in opposite to "Display Priority" which is at offset 0x40 ?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl>
Gesendet: Donnerstag, 19. Januar 2017 20:14:46
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] [Patch] set map-version in img header

Hi Gerd,

version 3 works correctly - gmapsupp.img created by mkgmap is directly
recognized by chartplotter, no need to patch img.

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


More information about the mkgmap-dev mailing list