[osmosis-dev] Task type write-mysql doesn't exist
Alexander Chmyr
achmyr at cloudmade.com
Thu Jan 7 20:05:10 GMT 2010
Hi Oliver,
This task was integrated into database support tasks, like *-apidb, it work
not only with mysql but also with postgres.
Take a look here and enjoy
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#--write-apidb_.28--wd.29
The only supported left *-mysql-0.5 tasks for OSM API v.0.5.
Alexander Chmyr
Senior Software Engineer
Cogniance, Inc
--------------------------
skype: alex.smudgy
On Thu, Jan 7, 2010 at 9:14 PM, Oliver Schrenk <oliver.schrenk at gmx.net>wrote:
> Hi,
>
> I was trying to populate a local mysql database with a sample osm file,
> much like the example at
>
> http://wiki.openstreetmap.org/index.php/Osmosis#Example_Usage
>
> and also mentioned at
>
>
> http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#--write-mysql_.28--wm.29
>
> by calling
>
> osmosis-0.32/bin/osmosis --read-xml file="utrecht-snippet.osm"
> --write-mysql host="localhost" database="osm" user="root"
>
>
> But all I got was
>
> Execution aborted.
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type
> write-mysql doesn't exist.
> at
> org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegister.getInstance(TaskManagerFactoryRegister.java:60)
> 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)
>
>
> Has the feature been removed?
>
>
> Best regards
> Oliver Schrenk
>
>
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20100107/13d12b7d/attachment.html>
More information about the osmosis-dev
mailing list