logo separator

[mkgmap-dev] Address search issues

From Dermot McNally dermotm at gmail.com on Wed Mar 30 22:41:27 BST 2011

It looks like we may not be out of the woods yet on this one - with
the latest patch, trying to build a map of Ireland (from the Geofabrik
extract) fails, where it had succeeded before. Single tile, no
splitting:

java.lang.ArrayIndexOutOfBoundsException: 36
	at uk.me.parabola.imgfmt.app.srt.SrtSortKey.compareTo(SrtSortKey.java:41)
	at uk.me.parabola.imgfmt.app.srt.SrtSortKey.compareTo(SrtSortKey.java:22)
	at java.util.Arrays.mergeSort(Arrays.java:1167)
	at java.util.Arrays.mergeSort(Arrays.java:1155)
	at java.util.Arrays.mergeSort(Arrays.java:1155)
	at java.util.Arrays.sort(Arrays.java:1079)
	at java.util.Collections.sort(Collections.java:117)
	at uk.me.parabola.imgfmt.app.net.NETFile.writePost(NETFile.java:82)
	at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:228)
	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:101)
	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:65)
	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:224)
	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:221)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Exiting - if you want to carry on regardless, use the --keep-going option


Command line is:

java -Xms2g -Xmx2g -Dlog.config=svn/mkgmap/logging.properties -jar
svn/mkgmap/dist/mkgmap.jar --family-id=333 --mapname=55555555
--family-name='OSM Ireland' --series-name='OSM Ireland'
--description='OSM Ireland' --country-name='IRELAND'
--country-abbr='IRL' --latin1 --gmapsupp  --net --route --index
--tdbfile --add-pois-to-areas --remove-short-arcs --check-roundabouts
--generate-sea=multipolygon --check-roundabout-flares ireland.osm
dermot3.TYP

Worth knowing about in case the same problem doesn't get spotted in other tests.

Cheers,
Dermot

-- 
--------------------------------------
Igaühel on siin oma laul
ja ma oma ei leiagi üles



More information about the mkgmap-dev mailing list