Skip to content

Query locations for elevation data from the NASA Shuttle Radar Topography Mission

License

Notifications You must be signed in to change notification settings

adriankumpf/srtm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRTM

CI Docs Hex.pm

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).

Installation

Add srtm to your list of dependencies in mix.exs:

def deps do
  [
    {:srtm, "~> 0.8"},
  ]
end

Examples

iex> SRTM.get_elevation(36.455556, -116.866667)
{:ok, -51}

See the documentation for further information on configuration.