SRTM
SRTM is a small library that provides a simple interface to query locations on the earth for elevation data from the NASA Shuttle Radar Topography Mission (SRTM).
Examples
{:ok, client} = SRTM.Client.new("./cache")
#=> {:ok, %SRTM.Client{}}
{:ok, elevation, client} = SRTM.get_elevation(client, 36.455556, -116.866667)
#=> {:ok, -51, %SRTM.Client{}}See the documentation for further information on configuration.
Installation
Add srtm to your list of dependencies in mix.exs:
def deps do
[
{:srtm, "~> 0.5"}
]
end