[osmosis-dev] Task type write-mysql doesn't exist
Oliver Schrenk
oliver.schrenk at gmx.net
Fri Jan 8 08:24:04 GMT 2010
I see. Thanks for clearing that up.
Wouldn't it be appropriate to also make a note of that in
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#--write-mysql_.28--wm.29
?
Am 07.01.2010 um 22:35 schrieb Brett Henderson:
> I've updated the examples to use the *-apidb tasks to avoid confusion.
>
> Brett
>
> On Fri, Jan 8, 2010 at 7:05 AM, Alexander Chmyr <achmyr at cloudmade.com>wrote:
>
>> 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
>>>
>>
More information about the osmosis-dev
mailing list