On Aug 6, 2009, at 1:39, Chris Miller wrote:
> 've checked in a new version of the tile splitter. It's not yet
> available
> for download on the splitter homepage, but until then you can either
> check
> it out of Subversion at http://svn.mkgmap.org.uk/splitter/trunk or
> download
> a prebuilt version from http://redyeti.net/splitter.jar
I tried this version (not yet the newest SVN version with the ways
restriction removed) on the geofabrik extract of Europe, and splitter
threw the following exception:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:
200000
at
org
.apache
.tools
.bzip2
.CBZip2InputStream.getAndMoveToFrontDecode(CBZip2InputStream.java:647)
at
org
.apache.tools.bzip2.CBZip2InputStream.initBlock(CBZip2InputStream.java:
282)
at
org
.apache
.tools.bzip2.CBZip2InputStream.setupNoRandPartA(CBZip2InputStream.java:
839)
at
org
.apache
.tools.bzip2.CBZip2InputStream.setupNoRandPartB(CBZip2InputStream.java:
888)
at
org.apache.tools.bzip2.CBZip2InputStream.read0(CBZip2InputStream.java:
211)
at
org.apache.tools.bzip2.CBZip2InputStream.read(CBZip2InputStream.java:
179)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1384)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at
uk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.java:
43)
at uk.me.parabola.splitter.Main.writeAreas(Main.java:211)
at uk.me.parabola.splitter.Main.split(Main.java:98)
at uk.me.parabola.splitter.Main.main(Main.java:78)
Any ideas? I'll try again tonight with the latest SVN version. Here is
my command line:
$JAVA6_JAR ../splitter-latest/splitter.jar --mapid=23000001 --max-
nodes=800000 europe.osm.bz2
(Where $JAVA6_JAR is the long path to the Mac OS java 1.6 binary)
I continued anyway with the map compilation, because splitter was
almost finished, and have not yet found anything missing. I have not
checked throughly though.
Cheers.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev