Yep, the dbType argument isn't supported in 0.31. You may be able to workaround it by specifying the authFile argument and including the dbType parameter in that file but I haven't tested it out.

It is fixed in the nightly builds. It was fixed in revision 15078. Version 0.31 is revision 14929.

You can download a nightly build which should fix your problem:
http://www.bretth.com/osmosis/osmosis-0.31.1-bin.zip


Gavin Towey wrote:
I'm using the latest 0.31, any ideas?

./osmosis --read-xml file=/home/prog/europe/europe.osm --write-apidb host=localhost database=osm user=root password=***** dbType=mysql
Jul 14, 2009 4:57:25 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.31
Jul 14, 2009 4:57:25 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Jul 14, 2009 4:57:26 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument dbType for task 2-write-apidb 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)
------------------------------------------------------------------------

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

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

Reply via email to