View source: R/ele_correction.R
ele_correction | R Documentation |
Uses SRTM data for obtaining elevation for each reading. Also supports external DEM in raster format. If number of readings exceeds 200 points downloads a raster, else downloads each point at a time. If local raster available, extract elevations directly
ele_correction(data, z = 13, raster = NULL, replace = TRUE)
data |
dataframe or tibble containing a GPS stream |
z |
zoom of Digital Elevation Model, between 6 and 14 |
raster |
raster object with DEM values |
replace |
binary variable. Default value = TRUE. Defines whether to create a new column or replace the raw elevation |
GPS stream dataframe with new variable 'ele_DEM'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.