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

2021-12-13 Thread Gerd Petermann
ap-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 some form of a flattened Huffman t

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

2021-12-13 Thread Ticker Berkin
in > 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 st

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 describing

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,

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

2021-12-12 Thread Gerd Petermann
__ 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 maps with compressed strings. Only on

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

2021-12-12 Thread Gerd Petermann
An: 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've adde

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

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

2021-12-12 Thread Gerd Petermann
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 unsigned integers,

[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