Splitter insists on the "right" filename when processing pbf data

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

Hi
After renaming the file to data.osm.pbf, it works.
Is this intended? Why is the .osm part needed?
Just because .osm.pbf is the "official" extension name. It can easily be changed to just .pbf. I can't think of any reason why not, can anyone? ..Steve
participants (2)
-
Michael Prinzing
-
Steve Ratcliffe