Hi
First attempt at using Osmosis. I want to use it to update an OSM file I’ve previously downloaded. I’ve used Ed Loach’s example as my basis:
http://wiki.openstreetmap.org/wiki/Osmosis/keep_a_local_copy_of_a_.osm_file_updated_using_minutely_updates
Here’s the command line I’m using:
C:\dwgs\Programs\GPS All\Osmosis>"C:\dwgs\Programs\GPS All\Osmosis\bin\osmosis"
--rri --simc --rx bath.osm --ac --bp clipIncompleteEntities=yes file=coords.txt
--wx new.osm && copy new.osm bath.osm /y && del new.osm
Unfortunately, it’s failing with this error output:
Jul 15, 2015 6:33:31 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
Jul 15, 2015 6:33:31 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type "repa" already
exists.
at org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegister.register(TaskManagerFactoryRegister.java:44)
at org.openstreetmap.osmosis.core.TaskRegistrar.loadPluginClass(TaskRegistrar.java:357)
at org.openstreetmap.osmosis.core.TaskRegistrar.loadPlugin(TaskRegistrar.java:313)
at org.openstreetmap.osmosis.core.TaskRegistrar.loadBuiltInPlugins(TaskRegistrar.java:123)
at org.openstreetmap.osmosis.core.TaskRegistrar.initialize(TaskRegistrar.java:80)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:81)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Any idea what ‘repa’ is?
Note 0.43.1 is the latest I can download, but the Detailed Help saya there’s a version 0.44
Any help would be appreciated.
Thanks
Dave F.