<div dir="ltr">It's not fixed yet with the newest mkgmap version - still getting:<div><br></div><div><div>java.lang.AssertionError: 8388608</div><div> at uk.me.parabola.imgfmt.app.<wbr>BufferedImgFileWriter.put3s(<wbr>BufferedImgFileWriter.java:<wbr>143)</div><div> at uk.me.parabola.imgfmt.app.<wbr>trergn.TREHeader.<wbr>writeFileHeader(TREHeader.<wbr>java:165)</div><div> at uk.me.parabola.imgfmt.app.<wbr>CommonHeader.writeHeader(<wbr>CommonHeader.java:73)</div><div> at uk.me.parabola.imgfmt.app.<wbr>trergn.TREFile.writePost(<wbr>TREFile.java:349)</div><div> at uk.me.parabola.mkgmap.build.<wbr>MapBuilder.makeMap(MapBuilder.<wbr>java:351)</div><div> at uk.me.parabola.mkgmap.main.<wbr>MapMaker.makeMap(MapMaker.<wbr>java:107)</div><div> at uk.me.parabola.mkgmap.main.<wbr>MapMaker.makeMap(MapMaker.<wbr>java:69)</div><div> at uk.me.parabola.mkgmap.main.<wbr>Main$1.call(Main.java:290)</div><div> at uk.me.parabola.mkgmap.main.<wbr>Main$1.call(Main.java:286)</div><div> at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266)</div><div> at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149)</div><div> at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624)</div><div> at java.lang.Thread.run(Thread.<wbr>java:748)</div></div><div><br></div><div><br></div><div>I'm compiling it again now with --keep-going to find the offending .osm.pbf tile and will upload that in a couple of hours.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 April 2018 at 20:28, Felix Hartmann <span dir="ltr"><<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying it right now (Asia takes a couple of hours however) - I've removed the patch nevertheless.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 25 April 2018 at 20:20, Gerd Petermann <span dir="ltr"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Felix,<br>
<br>
I don't think that the patch changes this. As Ticker suggested I've removed the assertions introduced with r4167.<br>
Please try with r4179.<br>
<span><br>
Gerd<br>
<br>
______________________________<wbr>__________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgm<wbr>ap.org.uk</a>> im Auftrag von Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>><br>
</span>Gesendet: Mittwoch, 25. April 2018 19:03:54<br>
<span>An: Development list for mkgmap<br>
</span>Betreff: Re: [mkgmap-dev] Current mkgmap version has another java.lang.AssertionError:<br>
<span><br>
oh yes - I still use the dem-empty.patch from you - I will remove it and try how it behaves without that one.<br>
(besides it I'm using minSizePolygon = props.getProperty("min-size-po<wbr>lygon", 14);<br>
(instead of 8) since long long time, but I'm sure that's no cause for the error here).<br>
<br>
<br>
Felix<br>
<br>
</span><span>On 25 April 2018 at 18:57, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.c<wbr>om</a><mailto:<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@<wbr>hotmail.com</a>>> wrote:<br>
Hi Felix,<br>
<br>
it seems you use a version of MapBuilder that doesn't match the current source in trunk. Is that possible?<br>
If yes, please post your version.<br>
<br>
Gerd<br>
<br>
______________________________<wbr>__________<br>
</span>Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgm<wbr>ap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-<wbr>bounces@lists.mkgmap.org.uk</a>>> im Auftrag von Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a><mailt<wbr>o:<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>>><br>
<div><div class="m_5071672371905888095h5">Gesendet: Mittwoch, 25. April 2018 18:17:30<br>
An: Development list for mkgmap<br>
Betreff: [mkgmap-dev] Current mkgmap version has another java.lang.AssertionError:<br>
<br>
java.lang.AssertionError: minlong=-8388608<br>
at uk.me.parabola.imgfmt.app.trer<wbr>gn.TREFile.setBounds(TREFile.<wbr>java:359)<br>
at uk.me.parabola.imgfmt.app.map.<wbr>Map.setBounds(Map.java:162)<br>
at <a href="http://uk.me.parabola.mkgmap.build.Ma">uk.me.parabola.mkgmap.build.Ma</a><wbr>pBuilder.processInfo(MapBuilde<wbr>r.java:1000)<br>
at <a href="http://uk.me.parabola.mkgmap.build.Ma">uk.me.parabola.mkgmap.build.Ma</a><wbr>pBuilder.makeMap(MapBuilder.ja<wbr>va:288)<br>
at uk.me.parabola.mkgmap.main.Map<wbr>Maker.makeMap(MapMaker.java:<wbr>107)<br>
at uk.me.parabola.mkgmap.main.Map<wbr>Maker.makeMap(MapMaker.java:<wbr>69)<br>
at uk.me.parabola.mkgmap.main.Mai<wbr>n$1.call(Main.java:290)<br>
at uk.me.parabola.mkgmap.main.Mai<wbr>n$1.call(Main.java:286)<br>
at java.util.concurrent.FutureTas<wbr>k.run(FutureTask.java:266)<br>
at java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1149)<br>
at java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:624)<br>
at java.lang.Thread.run(Thread.ja<wbr>va:748)<br>
<br>
<br>
I'm sure back 30-40 versions mkgmap had no problems here - I basically did not change my style (only removed one resolution) - and the data is the same.<br>
<br>
<br>
Happens on Asia continent map dem/contourline creation.<br>
<br>
java -ea -jar -Xmx20000M /home/contourlines/mkgmap.jar --dem=/home/contourlines/hgt/V<wbr>IEW1/,/home/contourlines/hgt/S<wbr>RTM1v3.0/,/home/contourlines/h<wbr>gt/VIEW3/,/home/contourlines/h<wbr>gt/SRTM3v3.0/ --dem-dists=9936 --dem-poly=/home/contourlines/<wbr>bounds/asia.poly --max-jobs=6 --reduce-point-density=3.6 --transparent --description=openmtbmap-srtm-<wbr>Asia --style-file=srtm --latin1 --draw-priority=24 --mapname=74500000 --family-id=7450 --product-id=1 --series-name=openmtbmap-srtm-<wbr>ASIA --family-name=mtbmap-srtm-ASIA --overview-mapname=mapsetz --tdbfile 7*.osm.pbf<br>
<br>
--<br>
Felix Hartman - Openmtbmap.org & VeloMap.org<br>
Schusterbergweg 32/8<br>
6020 Innsbruck<br>
Austria - Österreich<br>
______________________________<wbr>_________________<br>
mkgmap-dev mailing list<br>
</div></div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><wbr><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgma<wbr>p.org.uk</a>><br>
<div class="m_5071672371905888095HOEnZb"><div class="m_5071672371905888095h5"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailm<wbr>an/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
--<br>
Felix Hartman - Openmtbmap.org & VeloMap.org<br>
Schusterbergweg 32/8<br>
6020 Innsbruck<br>
Austria - Österreich<br>
______________________________<wbr>_________________<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="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailm<wbr>an/listinfo/mkgmap-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_5071672371905888095gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div>Schusterbergweg 32/8<br></div><div>6020 Innsbruck<br></div></div>Austria - Österreich</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div>Schusterbergweg 32/8<br></div><div>6020 Innsbruck<br></div></div>Austria - Österreich</div></div></div></div>
</div>