Re: [mkgmap-dev] Please help

2021-12-29 Thread nick
Hi Gerd The only thing I can add is that the large mdr file is part of the current Garmin NT file structure , ie Topo France V3 , which might explain the 2 additional bytes. Nick On 30/12/2021 07:19, Gerd Petermann wrote: Hi Nick and Ticker, there is another problem with the large mdr

Re: [mkgmap-dev] Please help

2021-12-29 Thread Gerd Petermann
Hi Nick and Ticker, there is another problem with the large mdr file. The POI section (MDR 11) seems to contain 2 unexpected additional bytes before(!) the known bytes for city and MDR15 offset. We should really try to find out the meaning of the magic number in MDR11 instead of looking at the

Re: [mkgmap-dev] MDR header length and sections

2021-12-29 Thread Gerd Petermann
Hi Ticker, thanks, committed with r578. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Mittwoch, 29. Dezember 2021 19:55 An: mkgmap development Betreff: [mkgmap-dev] MDR header length and sections Hi Gerd Some of the old maps don't have

[mkgmap-dev] MDR header length and sections

2021-12-29 Thread Ticker Berkin
Hi Gerd Some of the old maps don't have Mdr sections after 19 and 29. Also some code didn't spot it should test after Mdr19, so Summary, Display and Check could give errors. I've added logic to stop getting sections after all the header lengths I've found in the various samples. Patch attached.

Re: [mkgmap-dev] r4836 stops Hungary & Romania

2021-12-29 Thread Arndt Röhrig
Hi Ticker, BaseCamp show this: Palóc-Vasvár Írottko granite ?? or rovás feliratos kapu ?? I use "latin1" Greetz

Re: [mkgmap-dev] Please help

2021-12-29 Thread Gerd Petermann
Hi all, thanks for all the input. It answered most of the open questions, display tool r577 should be able to analyse all the files. Binary is here: https://files.mkgmap.org.uk/detail/543 See also https://www.mkgmap.org.uk/websvn/listing.php?repname=display=576 and

Re: [mkgmap-dev] Please help

2021-12-29 Thread nick
Hi Ticker / Gerd I've found another one which I think included mdr15 but second byte = 0x15 Also added a mdr.mdrfrom Topo France V3  which the display.jar couildn't parse but might be of interest Warning file  sz is large https:\pinns.co.uk\2812\mdr2.zip HTH Nick On 29/12/2021 09:31,

Re: [mkgmap-dev] Please help

2021-12-29 Thread Ticker Berkin
Hi Nick Thanks. Interesting, but not maybe not relevant to the Huffman stuff, in mdr16austria.txt the MDR headers go out of sync after MDR30 Ticker On Tue, 2021-12-28 at 18:28 +, nick wrote: > Hi Gerd > > OK thanks will check that tomorrow. > > I think it's amazing how far both of you

Re: [mkgmap-dev] r4836 stops Hungary & Romania

2021-12-29 Thread Ticker Berkin
Hi Arndt As a matter of interest, does any text show for https://www.openstreetmap.org/node/9122388694 or https://www.openstreetmap.org/node/9115233473 The text is mostly 'Old Hungarian' and I wonder if the java encoder tries any transliteration. What code-page are you using? Ticker On Tue,

Re: [mkgmap-dev] r4836 stops Hungary & Romania

2021-12-29 Thread Ticker Berkin
Hi Gerd I'll look at this sometime. I while ago I found something in one of the MDR sections (probably the short strings) that handled something like this. Ticker On Tue, 2021-12-28 at 13:22 +, Gerd Petermann wrote: > Hi Ticker, > > okay, maybe you find time to implement a better