<div dir="auto">O5m is always faster, but needs more disk space. Converting geofabrik osm.pbf to o5m makes sense however (especially if you can write to Ramdisk or slow Harddisk)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 10 Nov 2021, 17:38 Carlos Dávila <<a href="mailto:carlos@alternativaslibres.org">carlos@alternativaslibres.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm aware of the supposed advantages of pbf, but I did some tests in the <br>
past and I found o5m to be quite faster than pbf, but I'll test again.<br>
<br>
El 10/11/21 a las 9:43, Gerd Petermann escribió:<br>
> Hi Carlos,<br>
><br>
> I'll try to debug this.<br>
><br>
> BTW: I see you use *.o5m for the tiles (output from splitter). I think this is no longer a good choice, pbf is a lot smaller and almost as fast. Esp. when it comes to the goal of reducing disk I/O (as with --gmapi-minimal)<br>
><br>
> Gerd<br>
><br>
> ________________________________________<br>
> Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Carlos Dávila <<a href="mailto:carlos@alternativaslibres.org" target="_blank" rel="noreferrer">carlos@alternativaslibres.org</a>><br>
> Gesendet: Dienstag, 9. November 2021 22:54<br>
> An: <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> Betreff: Re: [mkgmap-dev] New assertion, now with code-page=632 and Japan tile<br>
><br>
> Hi Ticker<br>
><br>
> Not sure if relevant, but note in this case assertion occurs while<br>
> compiling the tile, not the index. In fact, --index is not included in<br>
> the command.<br>
><br>
> El 9/11/21 a las 21:55, Ticker Berkin escribió:<br>
>> Hi<br>
>><br>
>> I think this assertion could be removed from the code.<br>
>><br>
>> Looking through the definition of Shift-JIS, I read it as saying the<br>
>> second byte shouldn't be zero, so I don't know why this happens.<br>
>><br>
>> As with the Chinese code-pages, mkgmap has places where multi-byte<br>
>> encodings are not handled correctly in the --index generation and<br>
>> unknown meanings of flags to the Garmin software.<br>
>><br>
>> Ticker<br>
>><br>
>><br>
>><br>
>> On 09/11/2021 19:43, Carlos Dávila wrote:<br>
>>> code-page=932, sorry for the typo.<br>
>>><br>
>>> El 9/11/21 a las 20:36, Carlos Dávila escribió:<br>
>>>> The command below produces an assertion while compiling this tile<br>
>>>> <<a href="https://files.mkgmap.org.uk/download/526/31191025.o5m" rel="noreferrer noreferrer" target="_blank">https://files.mkgmap.org.uk/download/526/31191025.o5m</a>> from Japan.<br>
>>>> Process continues with remaining tiles and finishes without "Number<br>
>>>> of MapFailedExceptions: 1" as expected. This is with r4813, but I<br>
>>>> also tried with an old version of mkgmap with the same result.<br>
>>>><br>
>>>> java -Xmx27G -ea -jar mkgmap.jar--code-page=632 31191025.o5m<br>
>>>> Mkgmap version 4813<br>
>>>> Time started: Tue Nov 09 20:18:16 CET 2021<br>
>>>> WARNING (global): Setting max-jobs to 8<br>
>>>> Exception in thread "main" java.lang.AssertionError: found trailing<br>
>>>> 0 in chars<br>
>>>> at<br>
>>>> uk.me.parabola.imgfmt.app.labelenc.EncodedText.<init>(EncodedText.java:39)<br>
>>>><br>
>>>> at<br>
>>>> uk.me.parabola.imgfmt.app.labelenc.AnyCharsetEncoder.encodeText(AnyCharsetEncoder.java:112)<br>
>>>><br>
>>>> at<br>
>>>> uk.me.parabola.imgfmt.app.lbl.LBLFile.newLabel(LBLFile.java:132)<br>
>>>> at<br>
>>>> uk.me.parabola.imgfmt.app.lbl.PlacesFile.createPOI(PlacesFile.java:253)<br>
>>>> at<br>
>>>> uk.me.parabola.imgfmt.app.lbl.LBLFile.createPOI(LBLFile.java:172)<br>
>>>> at<br>
>>>> uk.me.parabola.mkgmap.build.MapBuilder.processPOIs(MapBuilder.java:670)<br>
>>>> at<br>
>>>> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:325)<br>
>>>> at<br>
>>>> uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:114)<br>
>>>> at<br>
>>>> uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:62)<br>
>>>> at<br>
>>>> uk.me.parabola.mkgmap.main.Main.lambda$processFilename$1(Main.java:291)<br>
>>>> at<br>
>>>> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)<br>
>>>> at<br>
>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br>
>>>><br>
>>>> at<br>
>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br>
>>>><br>
>>>> at java.base/java.lang.Thread.run(Thread.java:829)<br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> mkgmap-dev mailing list<br>
>>>> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
>>>> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
>>> _______________________________________________<br>
>>> mkgmap-dev mailing list<br>
>>> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
>>> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
>> _______________________________________________<br>
>> mkgmap-dev mailing list<br>
>> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
>> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank" rel="noreferrer">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div>