powered by
USGS APIs are used to determine the elevation associated with the longitude and latitude.
longitude
latitude
location_getSingleElevation_USGS( longitude = NULL, latitude = NULL, verbose = TRUE )
Single longitude in decimal degrees E.
Single latitude in decimal degrees N.
Logical controlling the generation of progress messages.
Numeric elevation value.
https://nationalmap.gov/epqs/
# NOT RUN { library(MazamaLocationUtils) # Wenatchee lon <- -120.325278 lat <- 47.423333 location_getSingleElevation_USGS(lon, lat) # } # NOT RUN { # }
Run the code above in your browser using DataLab