get_elevation_data {WES}R Documentation

Get elevation data

Description

This function takes information of where and when a set of environmental samples were collected and retrieves the elevation (in meters) for those locations at an approximate 100m spatial resolution. Data come from the SRTM DEM which are accessed through the Amazon Web Services (AWS) API and the elevatr R package.

Usage

get_elevation_data(lon, lat)

Arguments

lon

A numeric vector giving the longitude of the sampling sites in Decimal Degrees.

lat

A numeric vector giving the latitude of the sampling sites in Decimal Degrees.

Value

data.frame

Examples



get_elevation_data(lon = template_WES_data$lon,
                   lat = template_WES_data$lat)



[Package WES version 1.0.0 Index]