logo separator

[mkgmap-dev] Calculate offest

From Martin mkgmap at snailrun.de on Tue Feb 28 12:37:03 GMT 2012

Hi,

I'm trying to understand how the image-files works. Regarding to this page:
https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/MDR_Subfile_Format
I can calculate the offset for e.g. MDR1 by the 4 located at 0x01D
So if I have C4 02 00 00 in Big Endian it is 3288465408 and in Little 
Endian it's 708. (Little Endian looks better for me, but I'm not sure... )
This means 708 bytes (or at position 0x2C4) from the beginnig of the 
mdr-file I can find the MDR1-Table?!

Thanks
//Martin



More information about the mkgmap-dev mailing list