logo separator

[mkgmap-dev] bug in r-4025

From lig fietser ligfietser at hotmail.com on Wed Jan 24 11:54:23 GMT 2018

Thanks Gerd for sorting this out!

________________________________
Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> namens Gerd Petermann <gpetermann_muenchen at hotmail.com>
Verzonden: woensdag 24 januari 2018 03:10:15
Aan: Development list for mkgmap
Onderwerp: Re: [mkgmap-dev] bug in r-4025

Hi Minko,

the blocksize problem was the reason for the change in
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4054
and the new branch auto-block
I think this problem is solved.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser at hotmail.com>
Gesendet: Mittwoch, 24. Januar 2018 11:30:05
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] bug in r-4025

Hi Gerd,

I have found out that the levels in the option file matters:


These settings are fine if I skip level 23:


levels = 0:24, 1:22, 2:20, 3:18
overview-levels = 4:17, 5:15, 6:14


These go wrong, the gmap file is not compiled:


levels = 0:24, 1:23, 2:22, 3:20, 4:18
overview-levels = 5:17, 6:15, 7:14


Now I have tried 3312 instead of 6628 for the second highest level 23:

x-dem-dists: 3312,3312,9942,13248,44176

Then I got this error:
SEVERE (BlockManager): splitter\49000245.o5m: overflowed directory with max block 65534, current=65535
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
Exception in thread "main" java.lang.NegativeArraySizeException
    at uk.me.parabola.mkgmap.reader.hgt.HGTConverter.

If I use
x-dem-dists: 3312,9942,9942,13248,44176

No error but not rendered and no gmap.

If I use
x-dem-dists: 9942,9942,9942,13248,44176
Everything is ok.

So maybe I had a wrong values for level 23 which seems fixed by r-4066?



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180124/532cdf32/attachment-0001.html>


More information about the mkgmap-dev mailing list