[OSM-dev] Osmosis passwort for write

Alexander Strunck A.Strunck at gmx.net
Fri Jul 17 13:52:06 BST 2009


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?

alex
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser




More information about the dev mailing list