Hi, I am using your osmosis-srtm-plugin for my project, but I have encounter some problem, I download the Osmosis from http://wiki.openstreetmap.org/wiki/Osmosis, and put osmosis-srtm-plugin in lib/default, and run the command osmosis.bat --read-xml map.osm --write-srtm srvBase=http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/ srvSubDirs=North_America;South_America --write-xml test.osm followed http://code.google.com/p/osmosis-srtm-plugin/wiki/Examples. However, the result is: Aug 28, 2013 3:49:16 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Osmosis Version 0.43.1 Aug 28, 2013 3:49:16 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Preparing pipeline. Aug 28, 2013 3:49:16 AM org.openstreetmap.osmosis.core.Osmosis main SEVERE: Execution aborted. org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type write-srtm 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:86) at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) -bash: South_America: command not found Could you please help me with that? Thank you very much. Best |
If you want SRTM there are many easier ways to get it, and its best managed in a PostGIS db anyway. For instance, just load SRTM & OSM nodes and then using PostGis queries to assign elevation data to your nodes.
I would not be surprised if this plugin is no longer compatible with Osmosis.