<div dir="ltr"><div>Hi Gerd et al,</div><div><br></div><div>Downloaded 4865 and ran it to make a .GMAP with no changes to data nor options<br></div><div><br></div><div>Compared with running v4286 (which works for me so I still use) :</div><div><br></div><div>MDR is now 43092K was 47347K</div><div><br></div><div>Runtime (reading .MP files) seemed slower, maybe 30% slower</div><div><br></div><div>Some .RGN files are bigger : now 5855K was 5823K, for example.</div><div><br></div><div>Searching in Basecamp runs with no problems.</div><div><br></div><div>Keep up the good work!</div><div><br></div><div>John<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 16 Jan 2022 at 12:00, <<a href="mailto:mkgmap-dev-request@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-request@lists.mkgmap.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send mkgmap-dev mailing list submissions to<br>
        <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:mkgmap-dev-request@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-request@lists.mkgmap.org.uk</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:mkgmap-dev-owner@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-owner@lists.mkgmap.org.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of mkgmap-dev digest..."<br>
Today's Topics:<br>
<br>
   1. Please try and report results of Huffman compression<br>
      (Gerd Petermann)<br>
   2. Re: Please try and report results of Huffman      compression (7770)<br>
   3. Re: Please try and report results of Huffman      compression<br>
      (Gerd Petermann)<br>
<br><br><br>---------- Forwarded message ----------<br>From: Gerd Petermann <<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>><br>To: "<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>" <<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br>Cc: <br>Bcc: <br>Date: Sat, 15 Jan 2022 15:59:24 +0000<br>Subject: [mkgmap-dev] Please try and report results of Huffman compression<br>Hi all,<br>
<br>
during the last weeks Ticker and I decoded Garmin's String compression of the global index for the PC (the *_mdr.img) .<br>
In the mdr2 branch I've coded support for that in mkgmap and I think its ready for a first beta test.<br>
<br>
It works with codepages 1250 ..1258 or 65001. <br>
I've no idea how the 2-byte pages work, but Garmin seems to support that, too. Maybe I'll work on this later.<br>
<br>
The branch version produces around 200 lines of diagnostic output to show what happens when compression is enabled.<br>
This will be changed to debug level later.<br>
<br>
The encoding is enabled by default, special option --x-no-mdr15-compression can be used to turn it off.<br>
<br>
Note that the size of the *_mdr.img file will be smaller (which is esp. intersting for those who get close to the 2G limit)<br>
Note also that a zipped *_mdr.img can and will be larger since zip cannot remove as much redundancy. <br>
Note also that this branch includes the changes from the faster-mp branch and introduces a few changes <br>
which are relavant for --lower-case maps.<br>
<br>
How to test?<br>
Install the map in MapSource and check if you see any unexpected characters in the result lists or maybe even crashes while searching.<br>
If so, please try the same input files with the --x-no-mdr15-compression to verify if this is caused by compression or maybe other changes.<br>
<br>
Please don't yet publish the maps, but let me know if you see anything unexpected. Some changes reg. lower-case in this branch are still experimental.<br>
<br>
The binary is here:<br>
<a href="https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4865.zip" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4865.zip</a><br>
<br>
If you see errors which are caused by compression, please attach the diagnostic output.<br>
<br>
@Ticker: Please review the source.<br>
<br>
Gerd<br>
<br><br><br>---------- Forwarded message ----------<br>From: 7770 <<a href="mailto:7770@foskan.eu" target="_blank">7770@foskan.eu</a>><br>To: "<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>" <<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br>Cc: <br>Bcc: <br>Date: Sat, 15 Jan 2022 18:53:37 +0100<br>Subject: Re: [mkgmap-dev] Please try and report results of Huffman compression<br>Hi.<br>
<a href="https://files.mkgmap.org.uk/detail/544" rel="noreferrer" target="_blank">https://files.mkgmap.org.uk/detail/544</a><br>
<br>
ALLVARLIG (MultiPolygonRelation): folder/77700046.osm.pbf: Internal error: <br>
Failed to render MultiPolygonRelation 2970267 <br>
that was with --latin1<br>
<br>
mkgmap version 4839 works well.<br>
<br>
<br>
Regards<br>
Karl<br>
<br>
On lördag 15 januari 2022 16:59:24 CET Gerd Petermann wrote:<br>
> Hi all,<br>
> <br>
> during the last weeks Ticker and I decoded Garmin's String compression of<br>
> the global index for the PC (the *_mdr.img) . In the mdr2 branch I've coded<br>
> support for that in mkgmap and I think its ready for a first beta test.<br>
> <br>
> It works with codepages 1250 ..1258 or 65001.<br>
> I've no idea how the 2-byte pages work, but Garmin seems to support that,<br>
> too. Maybe I'll work on this later.<br>
> <br>
> The branch version produces around 200 lines of diagnostic output to show<br>
> what happens when compression is enabled. This will be changed to debug<br>
> level later.<br>
> <br>
> The encoding is enabled by default, special option --x-no-mdr15-compression<br>
> can be used to turn it off.<br>
> <br>
> Note that the size of the *_mdr.img file will be smaller (which is esp.<br>
> intersting for those who get close to the 2G limit) Note also that a zipped<br>
> *_mdr.img can and will be larger since zip cannot remove as much<br>
> redundancy. Note also that this branch includes the changes from the<br>
> faster-mp branch and introduces a few changes which are relavant for<br>
> --lower-case maps.<br>
> <br>
> How to test?<br>
> Install the map in MapSource and check if you see any unexpected characters<br>
> in the result lists or maybe even crashes while searching. If so, please<br>
> try the same input files with the --x-no-mdr15-compression to verify if<br>
> this is caused by compression or maybe other changes.<br>
> <br>
> Please don't yet publish the maps, but let me know if you see anything<br>
> unexpected. Some changes reg. lower-case in this branch are still<br>
> experimental.<br>
> <br>
> The binary is here:<br>
> <a href="https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4865.zip" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4865.zip</a><br>
> <br>
> If you see errors which are caused by compression, please attach the<br>
> diagnostic output.<br>
> <br>
> @Ticker: Please review the source.<br>
> <br>
> Gerd<br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>><br>To: "<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>" <<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br>Cc: <br>Bcc: <br>Date: Sun, 16 Jan 2022 09:38:14 +0000<br>Subject: Re: [mkgmap-dev] Please try and report results of Huffman compression<br>Hi all,<br>
<br>
see <a href="https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4866" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4866</a><br>
and <a href="https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4867" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4867</a><br>
<br>
Please use <a href="https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4867.zip" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4867.zip</a> for further tests.<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: 7770 <<a href="mailto:7770@foskan.eu" target="_blank">7770@foskan.eu</a>><br>
Gesendet: Samstag, 15. Januar 2022 18:53<br>
An: <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
Cc: Gerd Petermann<br>
Betreff: Re: [mkgmap-dev] Please try and report results of Huffman compression<br>
<br>
Hi.<br>
<a href="https://files.mkgmap.org.uk/detail/544" rel="noreferrer" target="_blank">https://files.mkgmap.org.uk/detail/544</a><br>
<br>
ALLVARLIG (MultiPolygonRelation): folder/77700046.osm.pbf: Internal error:<br>
Failed to render MultiPolygonRelation 2970267<br>
that was with --latin1<br>
<br>
mkgmap version 4839 works well.<br>
<br>
<br>
Regards<br>
Karl<br>
<br>
On lördag 15 januari 2022 16:59:24 CET Gerd Petermann wrote:<br>
> Hi all,<br>
><br>
> during the last weeks Ticker and I decoded Garmin's String compression of<br>
> the global index for the PC (the *_mdr.img) . In the mdr2 branch I've coded<br>
> support for that in mkgmap and I think its ready for a first beta test.<br>
><br>
> It works with codepages 1250 ..1258 or 65001.<br>
> I've no idea how the 2-byte pages work, but Garmin seems to support that,<br>
> too. Maybe I'll work on this later.<br>
><br>
> The branch version produces around 200 lines of diagnostic output to show<br>
> what happens when compression is enabled. This will be changed to debug<br>
> level later.<br>
><br>
> The encoding is enabled by default, special option --x-no-mdr15-compression<br>
> can be used to turn it off.<br>
><br>
> Note that the size of the *_mdr.img file will be smaller (which is esp.<br>
> intersting for those who get close to the 2G limit) Note also that a zipped<br>
> *_mdr.img can and will be larger since zip cannot remove as much<br>
> redundancy. Note also that this branch includes the changes from the<br>
> faster-mp branch and introduces a few changes which are relavant for<br>
> --lower-case maps.<br>
><br>
> How to test?<br>
> Install the map in MapSource and check if you see any unexpected characters<br>
> in the result lists or maybe even crashes while searching. If so, please<br>
> try the same input files with the --x-no-mdr15-compression to verify if<br>
> this is caused by compression or maybe other changes.<br>
><br>
> Please don't yet publish the maps, but let me know if you see anything<br>
> unexpected. Some changes reg. lower-case in this branch are still<br>
> experimental.<br>
><br>
> The binary is here:<br>
> <a href="https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4865.zip" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/download/mkgmap-mdr2-r4865.zip</a><br>
><br>
> If you see errors which are caused by compression, please attach the<br>
> diagnostic output.<br>
><br>
> @Ticker: Please review the source.<br>
><br>
> Gerd<br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div>