<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
It is fixed in the nightly builds. It was fixed in revision 15078.
Version 0.31 is revision 14929.<br>
<br>
You can download a nightly build which should fix your problem:<br>
<a class="moz-txt-link-freetext" href="http://www.bretth.com/osmosis/osmosis-0.31.1-bin.zip">http://www.bretth.com/osmosis/osmosis-0.31.1-bin.zip</a><br>
<br>
<br>
Gavin Towey wrote:
<blockquote
cite="mid:699445ba0907141701s9553783t28762dec79c03a4a@mail.gmail.com"
type="cite">I'm using the latest 0.31, any ideas?<br>
<br>
./osmosis --read-xml file=/home/prog/europe/europe.osm --write-apidb
host=localhost database=osm user=root password=***** dbType=mysql<br>
Jul 14, 2009 4:57:25 PM org.openstreetmap.osmosis.core.Osmosis run<br>
INFO: Osmosis Version 0.31<br>
Jul 14, 2009 4:57:25 PM org.openstreetmap.osmosis.core.Osmosis run<br>
INFO: Preparing pipeline.<br>
Jul 14, 2009 4:57:26 PM org.openstreetmap.osmosis.core.Osmosis main<br>
SEVERE: Execution aborted.<br>
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument dbType
for task 2-write-apidb was not recognised.<br>
at
org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory.createTaskManager(TaskManagerFactory.java:64)<br>
at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.buildTasks(Pipeline.java:50)<br>
at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:112)<br>
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:79)<br>
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a>
</pre>
</blockquote>
<br>
</body>
</html>