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 <[email protected]>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 > [email protected] > http://lists.openstreetmap.org/listinfo/osmosis-dev >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
