logo separator

[mkgmap-dev] v4058 dem-tdb crashes

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Jan 16 07:56:12 GMT 2018

Hi Andrzej,

I think I found a fix for this, see http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4066

Quite funny: I expected this kind of error with your 1st patch (dem-align.patch), now it happened without ;-)
Working on unit tests for this code now, not yet sure if I should create temp hgt files or if should add some existing hgt
files to the test resources.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Montag, 15. Januar 2018 22:39:33
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] v4058 dem-tdb crashes

Hi Andrzej,

seems to be a rounding problem at lat=0. I'll look at it tomorrow.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl>
Gesendet: Montag, 15. Januar 2018 22:26:03
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] v4058 dem-tdb crashes

Hi Gerd,

I have tried to compile South America and tripped on another crash. This
is version 4065, it crashes regardless if HGT is present or not.
http://files.mkgmap.org.uk/detail/395

java.lang.ArrayIndexOutOfBoundsException: 5
        at
uk.me.parabola.mkgmap.reader.hgt.HGTConverter.getElevation(HGTConverter.java:91)
        at
uk.me.parabola.mkgmap.reader.hgt.HGTConverter.getHeights(HGTConverter.java:308)
        at uk.me.parabola.imgfmt.app.dem.DEMSection.calcTiles(DEMSection.java:128)
        at uk.me.parabola.imgfmt.app.dem.DEMSection.<init>(DEMSection.java:74)
        at uk.me.parabola.imgfmt.app.dem.DEMFile.calc(DEMFile.java:61)
        at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:322)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:263)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:259)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option

--
Best regards,
Andrzej
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list