Hi programmers! Our code in TreFileReader differs from that in GPXSee treFile.cpp. Our code only reads 24 bits into field lastRgnOffset, but GPXSee reads up to 28 bits as offset. We assume 1 byte for the flags and 3 bytes for the offset. GPXSee assumes 4 bits for the flags and 28 bit for the offset.
Since our flags field has values > 0x10 I think the code in GPXSee looks better. Not sure what that means. Maybe we can write larger tiles? Is MapSplitter.MAX_RGN_OFFSET_SIZE related to this? Gerd
TreReader.patch
Description: TreReader.patch
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev