[OSM-talk] osmosis Problem with bounding-polygon and v0.6?
siliconfiend at gmail.com
Thu Apr 23 21:15:31 BST 2009
On Thu, Apr 23, 2009 at 12:39 PM, Marco Lechner - FOSSGIS e.V. <
marco.lechner at fossgis.de> wrote:
> hi karl,
> ./bin/osmosis --read-xml-0.6 file="path/planet-090421.osm.bz2"
> compressionMethod=bzip2 --bounding-polygon-0.6 file=path/aoi.pff
> --write-xml-0.6 file=path/aoi_2009-04-21_v06.osm
> gives (almost) the same error as pure v0.5:
> 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_6.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.
So, it sounds like you had multiple problems. Probably your planet file is
corrupt. You could try to look at the referenced line (6663) in the unpacked
file and see if it is valid XML. Most likely you will need to re-download
the planet file.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk