lookup_elevation_file {animaltracker}R Documentation

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

Description

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

Usage

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


[Package animaltracker version 0.2.0 Index]