[OSM-talk] Something wrong with planet file? Or osmosis?

Michal Migurski mike at stamen.com
Sat Nov 27 04:16:40 GMT 2010


Hi,

I'm seeing an error with the latest planet file when I attempt to extract a portion of it with osmosis.

I downloaded a copy of planet-101124.osm.bz2, and verified the md5sum.

I am also running the latest stable osmosis, 0.38.

Here's what I'm trying to do:

	osmosis --rx planet-101124.osm.bz2 --bb left=-122.353 bottom=37.749 top=37.891 right=-122.176 completeWays=yes completeRelations=yes --wx oakland-101124.osm.bz2

...and here is the error I am seeing back:

	SEVERE: Thread for task 1-rx failed org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to parse xml file planet-101124.osm.bz2. publicId=(null), systemId=(null), lineNumber=3972, columnNumber=4. at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:113) 

(full error at http://dpaste.com/hold/280419/)

I've looked at line 3972 of the planet file, and the XML structure there appears to be fine, so I'm not sure what could be wrong. I tried adding some explicit compressionMethod arguments to the --read-xml and --write-xml arguments, with no change in behavior. I'm running Ubuntu 9.10, and I'm not sure what other information might be pertinent to this error.

Has anyone else succeeded in extracting portions of planet using osmosis recently?

-mike.

----------------------------------------------------------------
michal migurski- mike at stamen.com
                 415.558.1610






More information about the talk mailing list