Hi Ticker, hi Valentin my understanding is that the error message from MapSplitter was a false positive because mkgmap reports 0 MapFailedExceptions. The crash with IndexOutOfBoundsException occurs in the final combiner phase for the gmapsupp. It might be caused by an I/O error or a corrupted *.img file. @Valentin: If you didn't already try that I suggest to clear the directory and restart the compilation. If that produces the same IndexOutOfBoundsException please try again without the file 63240201.osm.pbf. Only if that works fine we can be sure that 63240201.osm.pbf is causing the crash. ciao, Gerd ________________________________________ Von: mkgmap-dev <[hidden email]> im Auftrag von Ticker Berkin <[hidden email]> Gesendet: Freitag, 31. Juli 2020 17:01 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Error in Africa? Hi Valentin & Gerd @Gerd, have you started looking at this? The initial error is related to the splitting of the tile into subdivisions and is VERY dependent on the size and layout of all map elements in the tile, which will depend on the style and many options as well as the actual OSM input. If not using the default style, can you zip up and post what you are using, also mkgmap command line and options. The exception happens later but is probably a consequence of the split failure. Ticker On Thu, 2020-07-30 at 23:33 +0300, [hidden email] wrote: > Hi all, > My daily compilation of Africa was stopped because error is appear: > SEVERE (MapSplitter): 63240201.osm.pbf: Single item predicted to > exceed subdivision > http://www.openstreetmap.org/?mlat=10.412207&mlon=-13.010709&zoom=17 > Number of MapFailedExceptions: 0 Exception in thread > "main" > java.lang.IndexOutOfBoundsException: Index: 113, Size: 3 > at java.util.ArrayList.rangeCheck(Unknown Source) > at java.util.ArrayList.get(Unknown Source) > at > uk.me.parabola.imgfmt.app.net.NETFileReader.getRoads(NETFileReader.ja > va:116) > at > uk.me.parabola.imgfmt.app.map.MapReader.getRoads(MapReader.java:205) > at > uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java > :298) > at > uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:1 > 71) > at > uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onMapEnd(GmapsuppBuil > der.java:164) > at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:665) > at > uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.ja > va:125) > at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:144) > at uk.me.parabola.mkgmap.main.Main.main(Main.java:115) > > Link to my tile where the error is: > https://maptourist.org/tmp/63240201.osm.pbf > > I tried to find the cause of this error in OSM but could not. The > link > from above error log points to the location with completely > no > data somewhere in the middle of Guinea. > As an experiment, I loaded the problem tile into JOSM and > fixed > all automatically found errors. Then I tried to compile the > corrected > file. No positive effect. The error is still there. > I use mkgmap-r4564, but I found there is no dependency with other > versions. > How do I find what exactly is causing this error in the OSM data? > Previously, this map was compiled many times over a long time without > such problem. > > _______________________________________________ mkgmap-dev mailing list [hidden email] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [hidden email] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev If you reply to this email, your message will be added to the discussion below: http://gis.19327.n8.nabble.com/Error-in-Africa-tp5971902p5971915.html To unsubscribe from Mkgmap Development, click here. NAML |