
Hi Ticker, you find MDR 3 in old Garmin maps. It's about indexed polygon types. Garmin allows to index them but mkgmap doesn't. Maybe this could be implemented, but it would conflict with the --add-pois-to-areas stuff. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap@jagit.co.uk> Gesendet: Dienstag, 23. November 2021 11:30 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Some new (?) findings about global index structure MDR 3 Hi Gerd How did you get a Mdr3? I've been using MapInstall then running various display modes on the gmapsupp and MdrSummary reports initial values 7 2 e MDR 1 NR=2 (000002) RS=4 magic=0x0 MDR 4 NR=117 (000075) RS=3 magic=0x0 MDR 5 NR=17164 (00430c) RS=8 magic=0x151 MDR 6 NR=3456 (000d80) RS=3 magic=0x1 MDR 7 NR=14330 (0037fa) RS=6 magic=0x66 MDR 9 NR=11 (00000b) RS=3 magic=0x0 MDR 10 DataSize=159564 (00026f4c) magic=0x0 MDR 11 NR=39891 (009bd3) RS=9 magic=0x91 MDR 12 NR=4 (000004) RS=6 magic=0x40a MDR 17 DataSize=68363 (00010b0b) magic=0x0 MDR 18 NR=118 (000076) RS=4 magic=0x5 MDR 19 NR=39891 (009bd3) RS=3 magic=0x2 MDR 20 NR=17401 (0043f9) RS=6 magic=0xe MDR 22 NR=14292 (0037d4) RS=6 magic=0xc000e MDR 24 NR=2 (000002) RS=6 magic=0x0 MDR 25 NR=17144 (0042f8) RS=2 magic=0x0 MDR 29 NR=1 (000001) RS=6 magic=0x16 MdrCheck doesn't have section for it MdrDisplay has: MDR 2 0010bfd9 len=0 next=0010bfd9 implied size=0 (0x0) MDR 3 0010bfd9 len=0 next=0010bfd9 implied size=0 (0x0) MDR 4 0010bfd9 len=15f next=0010c138 fixed record size 3 number of records 117.00 implied size=351 (0x15f) Ticker On Tue, 2021-11-23 at 10:12 +0000, Gerd Petermann wrote:
Hi all,
I think MDR 3 is just like MDR 4, see https://www.mkgmap.org.uk/websvn/listing.php?repname=display&rev=562 and https://www.mkgmap.org.uk/websvn/listing.php?repname=display&rev=563
In both sections we have the "unknown" byte with values from 0 .. 3 (all values spotted) and so far I can only guess that these are bit flags.
MdrCheck should read this section to avoid error messages like ERROR: 49908: poi 29158 type was 41, expected 4100
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev