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, Default: NULL
Single latitude in decimal degrees N, Default: NULL
Logical controlling the generation of progress messages.
Numeric elevation value.
https://nationalmap.gov/epqs/
# NOT RUN { # Wenatchee lon <- -120.325278 lat <- 47.423333 location_getSingleElevation_USGS(lon, lat) # }
Run the code above in your browser using DataLab