get_aws_points {elevatr} | R Documentation |
Get point elevation data from the AWS Terrain Tiles
Description
Function for accessing elevation data from AWS and extracting the elevations
Usage
get_aws_points(
locations,
z = 5,
units = c("meters", "feet"),
verbose = TRUE,
...
)
Arguments
locations |
Either a |
z |
The zoom level to return. The zoom ranges from 1 to 14. Resolution of the resultant raster is determined by the zoom and latitude. For details on zoom and resolution see the documentation from Mapzen at https://github.com/tilezen/joerd/blob/master/docs/data-sources.md#what-is-the-ground-resolution. default value is 5 is supplied. |
units |
Character string of either meters or feet. Conversions for 'aws' are handled in R as the AWS terrain tiles are served in meters. |
verbose |
Report back messages. |
... |
Arguments to be passed to |
Value
a list with a SpatialPointsDataFrame or sf POINT or MULTIPOINT object with elevation added to the data slot and a character of the elevation units