<div dir="ltr"><div><div>Hi Gerd,<br><br></div>Thanks for the quick fix - r3606 worked!<br><br></div>Ben<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 5:10 PM, GerdP <span dir="ltr">&lt;<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ben,<br>
<br>
please try again with r3606. It should either report errors<br>
with the tile name or run without problems.<br>
<br>
Gerd<br>
<br>
<br>
Ben Konrath wrote<br>
<div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; I have a IndexOutOfBoundsException while generating a map of the United<br>
&gt; States with mkgmap 3605. I think this is related to the recent house<br>
&gt; number<br>
&gt; merge because 3598 worked fine and the problem seems to come from house<br>
&gt; number related code.<br>
&gt;<br>
&gt; java.lang.IndexOutOfBoundsException: bitIndex &lt; 0: -1<br>
&gt;         at java.util.BitSet.get(BitSet.java:615)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator$RoadSegmentIndex.createHousenumberMatch(HousenumberGenerator.java:2055)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.findClosestRoadsToHouse(HousenumberGenerator.java:794)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.generate(HousenumberGenerator.java:621)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:619)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:250)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:53)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130)<br>
&gt;         at<br>
&gt; uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)<br>
&gt;         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52)<br>
&gt;         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:255)<br>
&gt;         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:251)<br>
&gt;         at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>
&gt;         at<br>
&gt; java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
&gt;         at<br>
&gt; java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
&gt;         at java.lang.Thread.run(Thread.java:745)<br>
&gt;<br>
&gt; Here&#39;s how I&#39;m calling mkgamp:<br>
&gt;<br>
&gt; java -Xmx14000M -jar -Dlog.config=/home/ben/osm/confs/logging.properties<br>
&gt; /home/ben/osm/mkgmap/dist/mkgmap.jar --latin1 --gmapsupp --index --route<br>
&gt; --min-size-polygon --series-name=&quot;United States 2015.06.03&quot;<br>
&gt; --family-name=&quot;United States 2015.06.03&quot;<br>
&gt; --location-autofill=bounds,is_in,nearest --remove-ovm-work-files<br>
&gt; --bounds=/home/ben/osm/data/bounds<br>
&gt; --precomp-sea=/home/ben/osm/data/sea_20150602.zip --generate-sea<br>
&gt; --add-pois-to-areas --process-destination --process-exits<br>
&gt; --pois-to-areas-placement=&quot;entrance=main;entrance=yes;building=entrance&quot;<br>
&gt; --check-roundabout-flares --remove-short-arcs --family-id=14244<br>
&gt; --product-id=1 --make-opposite-cycleways --drive-on=detect,right<br>
&gt; --check-roundabouts --housenumbers -c template.args --description=&quot;United<br>
&gt; States 2015.06.03&quot; /home/ben/osm/confs/typ.txt<br>
&gt;<br>
&gt; Obviously a full US map is big so I don&#39;t know exactly where the problem<br>
&gt; is. What&#39;s the best way to help narrow done the problem? Let me know what<br>
&gt; I<br>
&gt; can do.<br>
&gt;<br>
&gt; Thanks, Ben<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; mkgmap-dev mailing list<br>
<br>
&gt; mkgmap-dev@.org<br>
<br>
&gt; <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gis.19327.n5.nabble.com/IndexOutOfBoundsException-in-US-map-with-mkgmap-3605-tp5847079p5847116.html" target="_blank">http://gis.19327.n5.nabble.com/IndexOutOfBoundsException-in-US-map-with-mkgmap-3605-tp5847079p5847116.html</a><br>
Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote></div><br></div>