[OSM-talk] osmosis Problem with bounding-polygon and v0.6?

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Thu Apr 23 15:06:53 BST 2009


Hi,

I try to cut the planetfile from 2009-04-21 using osmosis:

./bin/osmosis --read-xml-0.6 file=path/planet-090421.osm.bz2
compressionMethod=bzip2 --bp file=path/aoi.pff --write-xml-0.6
file=path/aoi_2009-04-21_v06.osm

and get the error message:

...
Task 2-bp does not support data provided by default pipe stored at level
1 in the default pipe stack.
...

Everything worked with pre-0.6-planetfiles

If I use the new planetfile using --read-xml and --write-xml (without
0.6) I get as expected:

...
Unable to parse xml file path/planet-090421.osm.bz2.  publicId=(null),
systemId=(null), lineNumber=6663, columnNumber=34.
    at com.bretth.osmosis.core.xml.v0_5.XmlReader.run(XmlReader.java:114)
    at java.lang.Thread.run(Thread.java:636)
Caused by: org.xml.sax.SAXParseException: XML document structures must
start and end within the same entity.

Any idea?

Marco

P.S. md5sum from planetfile is o.k. using "latest-osmosis" downloaded
today (0.30) no svn-Version




More information about the talk mailing list