logo separator

[mkgmap-dev] gzcat und splitter

From Josef Latt Josef.Latt at gmx.net on Thu Nov 25 09:53:34 GMT 2010

Hi,

trying 'bzcat germany.osm.bz2 | java -ea -Xmx2048M -jar
./splitter/splitter.jar --mapid=30000001 --max-nodes=1000000 /dev/stdin'
results in an error:

Processing 106 areas in a single pass
Starting pass 1 of 1, processing 106 areas (30000001 to 30000106)
Processing /dev/stdin...
Error parsing xml from file org.xmlpull.v1.XmlPullParserException: only
whitespace content allowed before start tag and not r (position:
START_DOCUMENT seen r... @1:1)
org.xmlpull.v1.XmlPullParserException: only whitespace content allowed
before start tag and not r (position: START_DOCUMENT seen r... @1:1)
	at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
	at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
	at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
	at
uk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.java:62)
	at uk.me.parabola.splitter.Main.parse(Main.java:459)
	at uk.me.parabola.splitter.Main.processOsmFiles(Main.java:450)
	at uk.me.parabola.splitter.Main.processMap(Main.java:436)
	at uk.me.parabola.splitter.Main.writeAreas(Main.java:417)
	at uk.me.parabola.splitter.Main.split(Main.java:232)
	at uk.me.parabola.splitter.Main.start(Main.java:121)
	at uk.me.parabola.splitter.Main.main(Main.java:110)


Doing this separately with bunzip2 and splitter it's o.k.

Greetings
Josef

-- 
PGP Schlüssel: 311D1055
http://keyserver.pgp.com



More information about the mkgmap-dev mailing list