Just released another open source project related to Trackprofiler. Geoelevations.rb is a SRTM and EGM2008 undulations parser library for Ruby:
Geoelevations.rb is a SRTM and EGM2008 undulations parser library for ruby. Geoelevation.rb allows you to retrieve the elevation for any point in Earth (if present in the SRTM dataset) and the Geoid undulation (the difference between the WGS84 ellipsoid and the actual Earth size).
SRTM: "The Shuttle Radar Topography Mission (SRTM) obtained elevation data on a near-global scale to generate the most complete high-resolution digital topographic database of Earth."
EGM2008: "The official Earth Gravitational Model EGM2008". Part of this dataset is a "geoid undulation values with respect to WGS 84".Basically it is simillar to the existing Python SRTM library (used in Trackprofiler to add elevations to GPS tracks) with two differences:
- It is written in Ruby,
- It contains also a EGM2008 undulations data (remember the difference between smartphone elevation and the actual elevation? That's the reason).
Geoelevations.rb is hosted here: github.com/tkrajina/geoelevations