Learn R Programming

elevatr (version 0.1.1)

get_epqs: Get point elevation data from the USGS Elevation Point Query Service

Description

Function for accessing elevation data from the USGS epqs

Usage

get_epqs(locations, units = c("meters", "feet"))

Arguments

locations
A SpatialPointsDataFrame of the location(s) for which you wish to return elevation. The first column is Longitude and the second column is Latitude.
units
Character string of either meters or feet. Only works for 'epqs'

Value

a SpatialPointsDataFrame with elevation added to the data slot