Skip to content

hhtznr/JOSM-Elevation-Plugin

Repository files navigation

JOSM Elevation Plugin

Elevation is a plugin for the OpenStreetMap editor JOSM. It displays terrain elevation at the mouse pointer location on the map as well as elevation contour lines and hillshade. It is designed to use publicly available elevation data from NASA's Shuttle Radar Topography Mission (SRTM). It can be configured to automatically download SRTM elevation data as needed.

This JOSM screenshot provides an overview of the most important features of the Elevation plugin: JOSM Elevation plugin -  Overview with highlighted features

Building from source

Elevation plugin is configured as Eclipse Java project. The project directory must be placed in josm/plugins of the original JOSM source tree for build.xml to work. The location of the JOSM project needs to be specified on the build path. The built plugin Elevation.jar will be found in josm/dist.

Installation

  1. Copy the plugin JAR file Elevation.jar into the JOSM plugins directory. Under Linux, the plugins directory should be located at $HOME/.local/share/JOSM/plugins.
  2. Launch JOSM and select Edit -> Preferences from the menu bar.
  3. In the opened preferences dialog, select the tab Plugins.
  4. In the sub-tab Plugins, select radio button option Available.
  5. Search for Elevation: [...] in the list of available plugins and select the checkbox.
  6. Click the OK button at the bottom.
  7. It may be necessary to restart JOSM for the changes to take effect.

Configuration

  1. From the JOSM menu bar select Edit -> Preferences.
  2. In the opened preferences dialog select the tab Elevation Data.
  3. Adapt the configuration to your needs.
  4. Click the OK button at the bottom.

For configuration options visit the project wiki. For a more detailed description see JOSM/Plugins/Elevation on the OpenStreetMap Wiki.