JOSM/Plugins/ElevationProfile

From OpenStreetMap Wiki
Jump to: navigation, search

Contents

Introduction

(1) Install the plugin
(2) ElevationProfile Screenshot
(3) ElevationProfile Example

The JOSM Plugin ElevationProfile displays the profile of a GPS trace's elevation measurements. It also shows the minimum and maximum elevation in a separate layer.

Icon JOSM Version Plugin Version Maintained By Date Maturity
ElevationProfile-Icon.png 4487 28150 OliverW March, 26th, 2012 Beta

Revision History

Version Changes
28150 Fixes Ticket #7549
27286 Removed en_GB from list of imperial countries
26946 Fixes Ticket #6991
24034 Fixes Ticket #5598
23977 Fixes Ticket #5558

Installation

  1. Open JOSM and select from menu Edit > Preferences, then choose the tab Plugins.
  2. Check ElevationProfile in the list (see figure 1), then press Update. JOSM should then download and install the plugin.
  3. Finally restart JOSM, that's it.

Usage

Quite simple, really. The elevation mode is (de)activated via the (ElevationProfile-ToggleButton.png) button, you should find it on the left toolbar. This mode is enabled by default after installation. If you do not need it, simply press the button and the elevation profile window disappears.


Besides the panel on the right side you see also an additional layer named Elevation profile. This layer shows you the

See figure (3) for an example.

Hints

If you have further suggestions or questions - feel free to drop me a line.

GPS Elevation Data

Many GPS devices log the elevation. Please refer to the manual or check your GPX file for tags named "ele".

However, there is a diffference between the topo height (measured with GPS) and the geoid height, Witold Fraczek wrote an excellent article on this issue. So the new version offers to correct the elevation data with geoid values. Please note, that the internal geoid table is simplified (the orginal data set by NASA/EGM is about 13 MBytes large), since a Java class constant table is limited to 64K. The consequence is that the simplified geoid value may differ up to 5m due to averaging effects. Another solution for this may be to use a lightweight DB like [SQLite].

GPS Visualizer

If your GPS device does not support elevation or you had poor signal quality during logging, you may augment your recorded GPS traces with elevation data using the GPS Visualizer.

NASA Elevation Data

An alternative is to get the SRTM (Shuttle Radar Topography Mission) raw elevation data. They come as raw files where each tile coveres 1 degree in NS/EW and consists of 1201 entries in each direction. The height (elevation about sea level) is represented as 2 byte signed integer, so that each file is 1201 x 1201 x 2 = 2.884.802 Bytes. This resolution corresponds to a square of ca. 90m x 90m. Data voids are indicated by a value of -32767.

The data of the USA is much more accurate (25.934.402 Bytes, grid size 30m x 30m).

For the curious: Mission Statement.

Further Work

The current state may be ok for a first shot, but there is still much room for improvement. Especially I would like to improve the data quality. This may be accomplished in two different ways - Data reduction/smoothing. - Augment/correct the GPS elevation data with the NASA data.

Known Bugs and Workarounds


Feedback

Please report bugs or annoyances to me by either

Personal tools
Namespaces
Variants
Actions
site
Toolbox