Alexander Strunck wrote:
> Hey
>
> i downloaded osmosis 0.3.0 to a windows xp system. and i downloaded data from 
> geofabrik.de. now i want to put the data with osmosis into a postgrsql 
> 8.3.7.1 with postgis 1.3.6.1.
> the string is
>
> osmosis --read-xml file="\berlin.osm.bz2“ --write-pgsql host="localhost" 
> database=“osmdata“ user="alex“ password=“strunck“
>
> but i got an error
>
> C:\Programme\osmosis-0.30\bin>osmosis --read-xml file="\berlin.osm.bz2" 
> --write-
> pgsql host="localhost" database="osmdata" user="alex" password="strunck"
> 17.07.2009 11:03:55 com.bretth.osmosis.core.Osmosis run
> INFO: Osmosis Version 0.30
> 17.07.2009 11:03:55 com.bretth.osmosis.core.Osmosis run
> INFO: Preparing pipeline.
> 17.07.2009 11:03:55 com.bretth.osmosis.core.Osmosis main
> SCHWERWIEGEND: Execution aborted.
> com.bretth.osmosis.core.OsmosisRuntimeException: Argument password for task 
> 1-re
> ad-xml was not recognised.
>         at 
> com.bretth.osmosis.core.pipeline.common.TaskManagerFactory.createTask
> Manager(TaskManagerFactory.java:64)
>         at 
> com.bretth.osmosis.core.pipeline.common.Pipeline.buildTasks(Pipeline.
> java:50)
>         at 
> com.bretth.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.jav
> a:112)
>         at com.bretth.osmosis.core.Osmosis.run(Osmosis.java:79)
>         at com.bretth.osmosis.core.Osmosis.main(Osmosis.java:30)
>
> why does the program wants an password for reading? why doesn´t it work?
>   
Hi Alex,

That's a strange error.  It is complaining that you've given the 
password argument to the --read-xml task which is clearly not the case 
above.  Sorry to question this, but are you sure that is the exact 
command line you typed?  I've tried it here and don't see that error.

The only other thing I can suggest trying is a nightly build at the link 
below to see if that helps:
http://www.bretth.com/osmosis/osmosis-0.31.1-bin.zip

Brett


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to