logo separator

[mkgmap-dev] Splitter Error

From GerdP gpetermann_muenchen at hotmail.com on Mon Mar 11 15:36:40 GMT 2013

Hi RheinSkipper,

I traced through the code and I fear I am not able to reproduce the problem.
Are you able to reproduce it? Maybe also with smaller bboxes?
If yes, can you post a link to your input file for splitter? Else we may
have to add some
debugging code to your splitter version.

Gerd



RheinSkipper wrote
> 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 .org

>  [mailto:mkgmap-dev-
>> 

> bounces at .org

> ] Im Auftrag von GerdP
>> Gesendet: Montag, 11. März 2013 14:47
>> An: 

> mkgmap-dev at .org

>> 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 .org

>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> _______________________________________________
> 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-tp5752745p5752783.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list