Hi Philip In the short term, try removing the -ea option from your java command. This should stop this crash but the part of resultant map might be rubbish or the bit might be not noticeable. I'll have a look sometime to see if I can work out why it is generating a value that won't fit into the allocated #bits in the .img file.
Ticker On Thu, 2025-09-18 at 12:10 +0200, Philip Homburg via mkgmap-dev wrote: > Hi, > > I got the following trying to make a map of Croatia with contour lines. It > works fine without. Or for example for Slovenia. Anybody a clue where I > should look for the cause of this problem? It crashes already in the first > pbf generated by the splitter. I can put the pbf somewhere if that helps. > > kgmap version 4923 > Time started: Thu Sep 18 11:51:06 CEST 2025 > Exception in thread "main" java.lang.AssertionError: 65536 > at > uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put2u(BufferedImgFileWriter.ja > va:166) > at > uk.me.parabola.imgfmt.app.trergn.Subdivision.write(Subdivision.java:285) > at > uk.me.parabola.imgfmt.app.trergn.TREFile.writeSubdivs(TREFile.java:169) > at > uk.me.parabola.imgfmt.app.trergn.TREFile.writeBody(TREFile.java:124) > at uk.me.parabola.imgfmt.app.trergn.TREFile.write(TREFile.java:341) > at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:342) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:114) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:70) > at > uk.me.parabola.mkgmap.main.Main.lambda$processFilename$1(Main.java:291) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149 > ) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624 > ) > at java.lang.Thread.run(Thread.java:750) > > _______________________________________________ > mkgmap-dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo/%(_internal_name)s _______________________________________________ mkgmap-dev mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo/%(_internal_name)s
