AddElevationData: Adds elevation data to locations dataframe

Description Usage Arguments Details Value

View source: R/gis.R

Description

Adds the cell values from an elevation rasters to an input locations and calculates the 'agl' (above ground level) of the locations.

Usage

1
AddElevationData(df, long, lat)

Arguments

df

dataframe of location data

long

column name of longitude data, default = lat_utm

lat

column name of latitude data, default = long_utm

Details

The locations dataset and elevation data must have the same CRS.

Value

The original locations df with additional landscape data columns.


Blakemassey/gisr documentation built on Aug. 30, 2020, 12:14 a.m.