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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev