
Hi,
Hi Thorsten,
I tried mkgmap r2372 with --process-destination option today. I made the necessary changes to my style file, but at some time I get the following backtrace:
java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1) at java.util.ArrayList.subListRangeCheck(Unknown Source) at java.util.ArrayList.subList(Unknown Source) at uk.me.parabola.mkgmap.reader.osm.LinkDestinationHook.retrieveWays(LinkDestinationHook.java:69) at uk.me.parabola.mkgmap.reader.osm.LinkDestinationHook.end(LinkDestinationHook.java:207) at uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79) at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:71) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:210) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:207) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 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)
That's reproduceable and removing the --process-destination option solves this.
Any ideas what's going wrong?
yes, it seems that your tiles contain ways with zero or one node only. I have tested it with geofabrik extracts of germany. I think they are created with osmosis and I broadly remember that osmosis throws away all one-node-ways. Thanks for reporting! r2373 should work. WanMil
Thorsten