[OSM-dev] Can't get osmosis to work
Marcus Wolschon
Marcus at Wolschon.biz
Sat Feb 28 21:38:49 GMT 2009
On 2/28/09, A. Stice <astice at ou.edu> wrote:
> C:\Users\Alan\Documents\Downloads\osmosis-latest.tar.gz\osmosis-latest\osmosis-0
> .30\bin>osmosis -v --read-xml file="planet.osm" --write-mysql
> validateSchemaVers
> ion=false host="localhost" database="gis" user="root" password="**********"
...
> SEVERE: Thread for task 1-read-xml failed
> com.bretth.osmosis.core.OsmosisRuntimeException: Unable to read XML file
> planet.
> osm.
> at
> com.bretth.osmosis.core.xml.v0_5.XmlReader.run(XmlReader.java:124)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.FileNotFoundException: planet.osm (The system cannot find
> the
> file specified)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(Unknown Source)
> at com.bretth.osmosis.core.xml.v0_5.XmlReader.run(XmlReader.java:99)
> ... 1 more
> Feb 27, 2009 8:08:54 AM
> com.bretth.osmosis.core.pipeline.common.PassiveTaskManag
> er waitForCompletion
Could it be that you have no planet.osm but a planet.osm.bz2 there?
It would be quite uncommon to have an uncompressed planet-file around.
Marcus
More information about the dev
mailing list