NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

asked 28 Aug '13, 12:13

usunyu's gravatar image

usunyu
26113
accept rate: 0%

edited 28 Aug '13, 15:55

MagicFab's gravatar image

MagicFab
935101622

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.

(28 Aug '13, 19:39) SK53 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×252
×113
×2

question asked: 28 Aug '13, 12:13

question was seen: 3,169 times

last updated: 28 Aug '13, 19:39

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum