[OSM-dev] Osmosis and dbType

Brett Henderson brett at bretth.com
Fri Jun 26 00:27:10 BST 2009


Hi Andreas,

The dbType argument wasn't available in osmosis version 0.31.

It is available in the nightly build.
http://www.bretth.com/osmosis/osmosis-0.31.1.zip

Apologies for the confusion, I normally try to keep the wiki aligned 
with the latest released version (ie. 0.31) but this one has slipped 
through the cracks.

Brett


Andreas Kalsch wrote:
> root at mesolt11:/ops# osmosis/bin/osmosis --read-xml file="bremen.osm" 
> --wd dbType="mysql" host="127.0.0.1" database="api06_test" user="xx" 
> password="xx"
> Jun 24, 2009 11:52:54 PM org.openstreetmap.osmosis.core.Osmosis run
> INFO: Osmosis Version 0.31
> Jun 24, 2009 11:52:55 PM org.openstreetmap.osmosis.core.Osmosis run
> INFO: Preparing pipeline.
> Jun 24, 2009 11:52:55 PM org.openstreetmap.osmosis.core.Osmosis main
> SEVERE: Execution aborted.
>
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument dbType 
> for task 2-wd was not recognised.
>
>         at 
> org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory.createTaskManager(TaskManagerFactory.java:64)
>         at 
> org.openstreetmap.osmosis.core.pipeline.common.Pipeline.buildTasks(Pipeline.java:50)
>         at 
> org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:112)
>         at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:79)
>         at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)
>
> How can I make Osmosis the argument "dbType" work?
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>   





More information about the dev mailing list