
Hi Andrzej, I also think that it could be related to the alignment of DEM tiles. I think the problem is not (only) related to dem-polygon, you should be able to reproduce it when you change line 109 in DEMSection.java from boolean hasExtra = false; to boolean hasExtra = true; The polygon handling simply forces that this variable is set to true and when this happens I see the crashes, although it only changes the size of the header info. I'll prepare a test set tomorrow. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Freitag, 2. Februar 2018 22:14 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] My findings about the crash in MapSource Hi Gerd, maybe this is a problem of overlapping of DEM form different tiles? Or maybe size of DEM area is calculated incorrectly? Could you upload an example? I haven't used dem-poly on my maps and never noticed this problem. -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev