logo separator

[mkgmap-dev] IndexOutOfBoundsException in US map with mkgmap 3605

From GerdP gpetermann_muenchen at hotmail.com on Thu Jun 4 16:10:19 BST 2015

Hi Ben,

please try again with r3606. It should either report errors 
with the tile name or run without problems.

Gerd


Ben Konrath wrote
> Hi,
> 
> I have a IndexOutOfBoundsException while generating a map of the United
> States with mkgmap 3605. I think this is related to the recent house
> number
> merge because 3598 worked fine and the problem seems to come from house
> number related code.
> 
> java.lang.IndexOutOfBoundsException: bitIndex < 0: -1
>         at java.util.BitSet.get(BitSet.java:615)
>         at
> uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator$RoadSegmentIndex.createHousenumberMatch(HousenumberGenerator.java:2055)
>         at
> uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.findClosestRoadsToHouse(HousenumberGenerator.java:794)
>         at
> uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.generate(HousenumberGenerator.java:621)
>         at
> uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:619)
>         at
> uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:250)
>         at
> uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:53)
>         at
> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130)
>         at
> uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
>         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52)
>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:255)
>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:251)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> 
> Here's how I'm calling mkgamp:
> 
> java -Xmx14000M -jar -Dlog.config=/home/ben/osm/confs/logging.properties
> /home/ben/osm/mkgmap/dist/mkgmap.jar --latin1 --gmapsupp --index --route
> --min-size-polygon --series-name="United States 2015.06.03"
> --family-name="United States 2015.06.03"
> --location-autofill=bounds,is_in,nearest --remove-ovm-work-files
> --bounds=/home/ben/osm/data/bounds
> --precomp-sea=/home/ben/osm/data/sea_20150602.zip --generate-sea
> --add-pois-to-areas --process-destination --process-exits
> --pois-to-areas-placement="entrance=main;entrance=yes;building=entrance"
> --check-roundabout-flares --remove-short-arcs --family-id=14244
> --product-id=1 --make-opposite-cycleways --drive-on=detect,right
> --check-roundabouts --housenumbers -c template.args --description="United
> States 2015.06.03" /home/ben/osm/confs/typ.txt
> 
> Obviously a full US map is big so I don't know exactly where the problem
> is. What's the best way to help narrow done the problem? Let me know what
> I
> can do.
> 
> Thanks, Ben
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/IndexOutOfBoundsException-in-US-map-with-mkgmap-3605-tp5847079p5847116.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list