Use USGS API (USGS Elevation Point Query Service) to determine approximate local elevation
Source:R/lookup_usgs_elevation.R
lookup_usgs_elevation.Rd
This is meant to supply an APPROXIMATE elevation, with no guarantees on
precision or on the lifetime of the API service used by the function. This
function uses two packages, RCurl
and XML
, that are not
required for the streamMetabolizer
package as a whole. If these are
not already installed, run install.packages(c('RCurl','XML'))
before
calling lookup_usgs_elevation
.
Usage
lookup_usgs_elevation(latitude, longitude, units = c("Meters", "Feet"))