logo separator

[mkgmap-dev] [mkgmap-svn] Commit r572: MDR16 is some kind of codebook.

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Tue Dec 14 18:30:14 GMT 2021

Hi Gerd

Do you fill in all the empty leaves with noticeable characters and
report them so you can spot patterns that haven't been defined and
their usage.

There seem to be some chars missing still (qwxy23). I don't know if the
shields/thin/fat separators make it into Mdr15


Ticker

On Tue, 2021-12-14 at 17:32 +0000, Gerd Petermann wrote:
> Hi Ticker,
> 
> yes, I'm close to done with the display tool being able to decode the
> string from Adria Topo.
> The 'F' is causing trouble, so probably something in my tree is still
> wrong or incomplete:
> Here's my actual code to dill the Huffman tree:
>                                 add("111", 'A');
> 
>                                 add("0111", '\0');
>                                 add("1000", ' ');
>                                 add("1001", 'E');
>                                 add("1010", 'N');
>                                 add("1011", 'O');
>                                 add("1100", 'I');
>                                 add("1101", 'R');
> 
>                                 add("01100", 'K');
>                                 add("00101", 'C');
>                                 add("00110", 'S');
>                                 add("00111", 'D');
>                                 add("01000", 'T');
>                                 add("01001", 'M');
>                                 add("01010", 'V');
>                                 add("01011", 'J');
>                                 add("01101", 'L');
> 
>                                 add("000101", 'G');
>                                 add("000110", 'Z');
>                                 add("001000", 'P');
>                                 add("000111", 'U');
>                                 add("001001", 'B');
> 
> //                              add("0000000", 'F');
>                                 add("0000110", 'H');
>                                 add("0000111", '1');
>                                 add("0001001", '.');
> 
>                                 add("00000011", '5');
>                                 add("00000100", '6');
>                                 add("00000111", '7');
>                                 add("00001000", '8');
>                                 add("00001001", '9');
>                                 add("00001010", '0');
>                                 add("00001011", '4');
>                                 add("00000101", '-');
>                                 add("000000100", '(');
>                                 add("000000101", ')');
> 
> Gerd




More information about the mkgmap-dev mailing list