Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-13 Thread Gerd Petermann
___ > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Montag, 13. Dezember 2021 11:08 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] What's the maximum size of global index MDR > size? > > Hi Gerd > > Does Mdr16 look like som

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-13 Thread Ticker Berkin
von Ticker Berkin > Gesendet: Montag, 13. Dezember 2021 11:08 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] What's the maximum size of global index MDR > size? > > Hi Gerd > > Does Mdr16 look like some form of a flattened Huffman tree? A common > re

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-13 Thread Gerd Petermann
uftrag von Ticker Berkin Gesendet: Montag, 13. Dezember 2021 11:08 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] What's the maximum size of global index MDR size? Hi Gerd Does Mdr16 look like some form of a flattened Huffman tree? A common representation is a stream of bits descr

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-13 Thread Ticker Berkin
Hi Gerd Does Mdr16 look like some form of a flattened Huffman tree? A common representation is a stream of bits describing the shape and a stream of chars giving the contents. If you send me an example + the little bit at the start of Mdr15 you've been using I'll have a look. Ticker On Sun, 202

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-12 Thread Gerd Petermann
pressed MDR 15 file. Gerd Von: mkgmap-dev im Auftrag von Gerd Petermann Gesendet: Sonntag, 12. Dezember 2021 15:36 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] What's the maximum size of global index MDR size? Hi Ticker, I have 3 ma

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-12 Thread Gerd Petermann
: Development list for mkgmap Betreff: Re: [mkgmap-dev] What's the maximum size of global index MDR size? Hi Gerd In the example with the compressed strings, did it have Mdr30/31 and/or Mdr32/33? Ticker On Sun, 2021-12-12 at 11:07 +, Gerd Petermann wrote: > Hi all, > > for now I&#x

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-12 Thread Ticker Berkin
Hi Gerd In the example with the compressed strings, did it have Mdr30/31 and/or Mdr32/33? Ticker On Sun, 2021-12-12 at 11:07 +, Gerd Petermann wrote: > Hi all, > > for now I've added a check to stop if the MDR subfile gets > 2G. > My findings reg. string compression in MDR 15: > If Mdr15 is

Re: [mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-12 Thread Gerd Petermann
: Samstag, 11. Dezember 2021 11:06 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] What's the maximum size of global index MDR size? Hi all, does anybody know the actual limits? The structure of the MDR file encodes offsets with 4 bytes. We can assume those are interpreted as uns

[mkgmap-dev] What's the maximum size of global index MDR size?

2021-12-11 Thread Gerd Petermann
Hi all, does anybody know the actual limits? The structure of the MDR file encodes offsets with 4 bytes. We can assume those are interpreted as unsigned integers, so 0x (2^32 ~ 4G) would be the highest possible offset, the section length is also encoded with 4 bytes, so maybe we can e