A simple SRTM file reader
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
.gitignore
README
__init__.py
fabfile.py
srtmreader.py

README

A simple SRTM file reader to read 3' DEM data.

DEM file format info: http://dds.cr.usgs.gov/srtm/version2_1/Documentation/Quickstart.pdf
Interpolation method from http://trac.openstreetmap.org/browser/applications/utils/import/srtm2wayinfo/python/srtm.py
Tested with data from http://www.viewfinderpanoramas.org/dem3.html

TODO/IDEAS:
    * Take list of lat,lon points and return list of elevation.
    * Verify that interpolation is giving better results than non-interpolated observations.
    * Catch errors for points larger than x.999, where interpolation will fail.