logo separator

[mkgmap-dev] Commit r4889: Improve interpretation of TRE7 data (extended types offsets) not written by mkgmap

From svn commit svn at mkgmap.org.uk on Tue Feb 1 16:33:23 GMT 2022

Version mkgmap-r4889 was committed by gerd on Tue, 01 Feb 2022

Improve interpretation of TRE7 data (extended types offsets) not written by mkgmap
- check magic value in TRE7 to find out which offsets are set (mkgmap write 0x607 which means all offsets are valid). GPXSee does something similar in TREFile::readExtEntry() and Steve already assumed this
according to the comment for magic 0x0607 in TreHeader.
- handle the case that the number of records in TRE7 is smaller than the number of subdivisions. In this case the subdivisions with the lowest resolution are probably without extended types.

Should have no effect on mkgmap output but allows RgnDisplay to handle more maps.

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4889


More information about the mkgmap-dev mailing list