logo separator

[mkgmap-dev] Splitter Error

From RheinSkipper rheinskipper1000 at gmx.de on Mon Mar 11 13:54:55 GMT 2013

First I extract my bbox from the planet:

read="planet/planet-latest.osm.pbf"
write="planet/bbox.osm.pbf omitmetadata=true"
zipname=osm_europe_central
bbox="left=-8 right=25 bottom=38 top=61"
JAVACMD_OPTIONS="-Djava.io.tmpdir=$HOME/tmp -Xmx6G"
osmosis/bin/osmosis --read-pbf $read --tee 1 outPipe.0=a --bounding-box
inPipe.0=a completeWays=yes $bbox --write-pbf $write

Then I run the splitter:

java -XX:+UseCompressedOops -Xmx6500M -jar splitter/splitter.jar
--max-nodes=1500000 --mixed=yes --no-trim --keep-complete --precomp-sea=sea
--overlap=0 --resolution=16 --geonames-file=cities15000.zip
--description=INT-Offshore --output=xml --output-dir=tiles
planet/bbox.osm.pbf 2>err1.txt



> -----Ursprüngliche Nachricht-----
> Von: mkgmap-dev-bounces at lists.mkgmap.org.uk [mailto:mkgmap-dev-
> bounces at lists.mkgmap.org.uk] Im Auftrag von GerdP
> Gesendet: Montag, 11. März 2013 14:47
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: Re: [mkgmap-dev] Splitter Error
> 
> Hi,
> 
> probably an error in splitter. It seems to be caused by a long string in
the
> data.
> Can you tell me how to reproduce it?
> 
> Gerd
> 
> 
> RheinSkipper wrote
> > I receive an error when running the current splitter version:
> >
> >
> >
> > Exception in thread "worker-6"
> java.lang.StringIndexOutOfBoundsException:
> > String index out of range: -3
> >
> >                 at java.lang.String.getChars(String.java:860)
> >
> >                 at
> >
> uk.me.parabola.splitter.OSMXMLWriter.writeString(OSMXMLWriter.java:199
> > )
> >
> >                 at
> > uk.me.parabola.splitter.OSMXMLWriter.write(OSMXMLWriter.java:96)
> >
> >                 at
> >
> uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.processElement(
> > SplitP
> > rocessor.java:407)
> >
> >                 at
> > uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProces
> > sor.ja
> > va:442)
> >
> >                 at java.lang.Thread.run(Thread.java:679)
> >
> >
> >
> > What does this mean?
> >
> >
> > _______________________________________________
> > mkgmap-dev mailing list
> 
> > mkgmap-dev at .org
> 
> > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> 
> 
> 
> 
> --
> View this message in context:
http://gis.19327.n5.nabble.com/Splitter-Error-
> tp5752745p5752748.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list