lookup_elevation_file: Add elevation data from terrain tiles to long/lat coordinates...

Description Usage Arguments Value

View source: R/data_processing.R

Description

Add elevation data from terrain tiles to long/lat coordinates of animal gps data

Usage

1
2
3
4
5
6
7
lookup_elevation_file(
  elev,
  anidf,
  zoom = 11,
  get_slope = TRUE,
  get_aspect = TRUE
)

Arguments

elev

elevation data as raster

anidf

animal tracking dataframe

zoom

level of zoom, defaults to 11

get_slope

logical, whether to compute slope (in degrees), defaults to true

get_aspect

logical, whether to compute aspect (in degrees), defaults to true

Value

original data frame, with terrain column(s) appended


mathedjoe/animaltracker documentation built on Aug. 12, 2021, 7:46 a.m.