[OSM-dev] Can't get osmosis to work

Stice, Alan M. astice at ou.edu
Sat Feb 28 21:42:26 GMT 2009

I do have the compressed version, but I decompressed it before running the script.

-----Original Message-----
From: marcus.wolschon at googlemail.com [mailto:marcus.wolschon at googlemail.com] On Behalf Of Marcus Wolschon
Sent: Saturday, February 28, 2009 3:39 PM
To: Stice, Alan M.
Cc: dev at openstreetmap.org
Subject: Re: [OSM-dev] Can't get osmosis to work

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.


More information about the dev mailing list