<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Location (.img and also .osm.pbf)<br>
<a class="moz-txt-link-freetext" href="http://openmtbmap.org/analysis.7z">http://openmtbmap.org/analysis.7z</a><br>
<br>
I think it happens also if you really just want to create a basic
overview mapset.img / mapset.tdb. Not even need for search index.
(otherwise I got a second different bug in mkgmap that more or less
throws the same exception). <br>
there are three .tmp files generated - only the mdr.... .tmp file
has some data (about 3MB) - the other are 0byte files. - just to
give you an idea how far it gets. Sorry I forgot to add them into
the download.<br>
<br>
Okay - here we go (don't mind the 7*.img - that doesn't change a
thing):<br>
C:\OpenMTBMap\maps>start /low /b /wait java -jar
-XX:StringTableSize=100003 -Xms6000M -Xmx10300M
c:\openmtbmap\mkgmap.jar --max-jobs=8 "--generate-sea" "--latin1"
"--precomp-sea=c:\openmtbmap\maps\sea.zip"
"--style-file=c:\openmtbmap\openmtbmap_style" --nsis --index
--levels="0:24, 1:23, 2:22, 3:21, 4:20, 5:19, 6:18"
--overview-levels="7:17, 8:16, 9:15, 10:14, 11:13, 12:12"
--adjust-turn-headings --add-pois-to-areas
--reduce-point-density=3.4 --reduce-point-density-polygon=6
--housenumbers --link-pois-to-ways --ignore-turn-restrictions
--polygon-size-limits="24:16, 23:14, 22:12, 21:11, 20:10, 19:9,
18:8, 17:7, 16:6, 15:5, 14:4, 13:3, 12:2, 11:0, 10:0"
--description=openmtbmap_co --show-profiles=1
--location-autofill=bounds,is_in,nearest
--bounds=c:\openmtbmap\maps\bounds.zip --route --country-abbr=co
--country-name=colombia --mapname=64740000 --family-id=6474
--product-id=1 --series-name=openmtbmap_colombia_20.11.2014
--family-name=mtbmap_co_20.11.2014 --tdbfile
--overview-mapname=mapsetc --keep-going
--area-name="colombia_20.11.2014_openmtbmap.org" -c
e:\openmtbmap\maps\template.colombia 7*.img 1>NUL<br>
Exception in thread "main" java.lang.IndexOutOfBoundsException:
Index: 55528, Size: 16191<br>
at java.util.ArrayList.rangeCheck(Unknown Source)<br>
at java.util.ArrayList.get(Unknown Source)<br>
at
uk.me.parabola.imgfmt.app.lbl.LBLFileReader.readPoiInfo(LBLFileReader.java:414)<br>
at
uk.me.parabola.imgfmt.app.lbl.LBLFileReader.<init>(LBLFileReader.java:75)<br>
at
uk.me.parabola.mkgmap.combiners.FileInfo.lblInfo(FileInfo.java:326)<br>
at
uk.me.parabola.mkgmap.combiners.FileInfo.lblInfo(FileInfo.java:313)<br>
at
uk.me.parabola.mkgmap.combiners.FileInfo.imgInfo(FileInfo.java:259)<br>
at
uk.me.parabola.mkgmap.combiners.FileInfo.getFileInfo(FileInfo.java:152)<br>
at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:540)<br>
at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)<br>
at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134)<br>
at uk.me.parabola.mkgmap.main.Main.main(Main.java:105)<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 20.11.2014 10:01, Gerd Petermann
wrote:<br>
</div>
<blockquote cite="mid:DUB112-W1199B04D6F866A3718CB7CD9E760@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Felix,<br>
<br>
yes, I tried to reproduce it with Colombia yesterday but found<br>
no problem. My 1st thought was an I/O error, but<br>
that is unlikely now that two users have the problem.<br>
<br>
Gerd<br>
<br>
<br>
<div>> Date: Thu, 20 Nov 2014 09:58:41 +0100<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:extremecarver@gmail.com">extremecarver@gmail.com</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> Subject: Re: [mkgmap-dev] Assertion error with r3350<br>
> <br>
> oh - BTW - this error happens when compiling mapset.img
and mapset.tdb.<br>
> NOT when compiling the actual .img files. I can upload
the columbia <br>
> .img files if someone want to analyze what causes the
crash.. (at least <br>
> that's easier then on a continent map).<br>
> On 19.11.2014 17:45, Carlos Dávila wrote:<br>
> > I'm getting an assertion error compiling two of my
maps (Colombia and <br>
> > Venezuela) with mkgmap r3350<br>
> > Number of MapFailedExceptions: 0<br>
> > Exception in thread "main" java.lang.AssertionError:
Invalid label <br>
> > offset found 16091027<br>
> > at <br>
> >
uk.me.parabola.imgfmt.app.lbl.LBLFileReader.fetchLabel(LBLFileReader.java:87)<br>
> > at <br>
> >
uk.me.parabola.imgfmt.app.lbl.LBLFileReader.readPoiInfo(LBLFileReader.java:394)<br>
> > at <br>
> >
uk.me.parabola.imgfmt.app.lbl.LBLFileReader.<init>(LBLFileReader.java:75)<br>
> > at <br>
> >
uk.me.parabola.mkgmap.combiners.FileInfo.lblInfo(FileInfo.java:326)<br>
> > at <br>
> >
uk.me.parabola.mkgmap.combiners.FileInfo.lblInfo(FileInfo.java:313)<br>
> > at <br>
> >
uk.me.parabola.mkgmap.combiners.FileInfo.imgInfo(FileInfo.java:259)<br>
> > at <br>
> >
uk.me.parabola.mkgmap.combiners.FileInfo.getFileInfo(FileInfo.java:152)<br>
> > at
uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:540)<br>
> > at <br>
> >
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)<br>
> > at
uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134)<br>
> > at
uk.me.parabola.mkgmap.main.Main.main(Main.java:105)<br>
> ><br>
> > My mkgmap command:<br>
> > mkgmap.jar --bounds=bounds.zip --precomp-sea=sea.zip
--max-jobs <br>
> > --route --latin1 --code-page=1252 \<br>
> > --country-name=$PAIS --country-abbr=$ABR
--area-name=$MAPA <br>
> > --family-name="OpenStreetMap $MAPA"
--family-id=1$FID --product-id=1 <br>
> > --series-name="OSM-$MAPA" \<br>
> > --overview-mapname=$ABR-1$FID
--overview-mapnumber=551${FID}000 <br>
> > --name-tag-list=$NAMETAG --index
--process-destination --process-exits <br>
> > --housenumbers \<br>
> > --remove-short-arcs=0 --reduce-point-density=4 <br>
> > --reduce-point-density-polygon=8
--polygon-size-limits="24:12, 18:10, <br>
> > 16:0" --add-pois-to-areas --adjust-turn-headings
--report-similar-arcs <br>
> > --report-dead-ends=2 --link-pois-to-ways \<br>
> > --location-autofill=is_in,nearest
--drive-on-$DRIVEON <br>
> > --check-roundabouts --check-roundabout-flares <br>
> > --license-file=license_ODbL.txt \<br>
> > --copyright-message="OpenStreetMap contributors,
ODbL. See: <br>
> > <a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/copyright">http://www.openstreetmap.org/copyright</a>" --style=mio
--check-styles -c <br>
> > $pais.args<br>
> ><br>
> > Error also happens with default style<br>
> > _______________________________________________<br>
> > mkgmap-dev mailing list<br>
> > <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> > <a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> <br>
> -- <br>
> keep on biking and discovering new trails<br>
> <br>
> Felix<br>
> openmtbmap.org & <a class="moz-txt-link-abbreviated" href="http://www.velomap.org">www.velomap.org</a><br>
> <br>
> <br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
keep on biking and discovering new trails
Felix
openmtbmap.org & <a class="moz-txt-link-abbreviated" href="http://www.velomap.org">www.velomap.org</a></pre>
</body>
</html>