<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Thanks Gerd for sorting this out!<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Van:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Gerd Petermann <gpetermann_muenchen@hotmail.com><br>
<b>Verzonden:</b> woensdag 24 januari 2018 03:10:15<br>
<b>Aan:</b> Development list for mkgmap<br>
<b>Onderwerp:</b> Re: [mkgmap-dev] bug in r-4025</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Minko,<br>
<br>
the blocksize problem was the reason for the change in<br>
<a href="http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4054">http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4054</a><br>
and the new branch auto-block<br>
I think this problem is solved.<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com><br>
Gesendet: Mittwoch, 24. Januar 2018 11:30:05<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] bug in r-4025<br>
<br>
Hi Gerd,<br>
<br>
I have found out that the levels in the option file matters:<br>
<br>
<br>
These settings are fine if I skip level 23:<br>
<br>
<br>
levels = 0:24, 1:22, 2:20, 3:18<br>
overview-levels = 4:17, 5:15, 6:14<br>
<br>
<br>
These go wrong, the gmap file is not compiled:<br>
<br>
<br>
levels = 0:24, 1:23, 2:22, 3:20, 4:18<br>
overview-levels = 5:17, 6:15, 7:14<br>
<br>
<br>
Now I have tried 3312 instead of 6628 for the second highest level 23:<br>
<br>
x-dem-dists: 3312,3312,9942,13248,44176<br>
<br>
Then I got this error:<br>
SEVERE (BlockManager): splitter\49000245.o5m: overflowed directory with max block 65534, current=65535<br>
SEVERE (MapFailedException): splitter\49000245.o5m: (thrown in BlockManager.allocate()) Too many blocks. Use a larger block size with an option such as --block-size=1024 or --block-size=2048<br>
Exception in thread "main" java.lang.NegativeArraySizeException<br>
at uk.me.parabola.mkgmap.reader.hgt.HGTConverter.<br>
<br>
If I use<br>
x-dem-dists: 3312,9942,9942,13248,44176<br>
<br>
No error but not rendered and no gmap.<br>
<br>
If I use<br>
x-dem-dists: 9942,9942,9942,13248,44176<br>
Everything is ok.<br>
<br>
So maybe I had a wrong values for level 23 which seems fixed by r-4066?<br>
<br>
<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
mkgmap-dev@lists.mkgmap.org.uk<br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</div>
</span></font></div>
</body>
</html>