[mkgmap-dev] Splitter insists on the "right" filename when processing pbf data
From Michael Prinzing mipri at gmx.net on Mon Sep 19 16:53:02 BST 2011
Hello, splitting data in pbf format only works if the filename ends with .osm.pbf. When I am trying to split a file named 'data.pbf', the splitter says ------------------------------------------------ Processing data.pbf org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... at 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) atuk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.java :62) at uk.me.parabola.splitter.Main.processMap(Main.java:412) at uk.me.parabola.splitter.Main.calculateAreas(Main.java:287) at uk.me.parabola.splitter.Main.split(Main.java:163) at uk.me.parabola.splitter.Main.start(Main.java:118) at uk.me.parabola.splitter.Main.main(Main.java:107) ------------------------------------------------ After renaming the file to data.osm.pbf, it works. Is this intended? Why is the .osm part needed? Thanks, Michael
- Previous message: [mkgmap-dev] Name of boundarys
- Next message: [mkgmap-dev] Splitter insists on the "right" filename when processing pbf data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list