View source: R/hike_create_lines.R
| hike_height_diff | R Documentation | 
height difference
hike_height_diff(elev_points, col)
| col | - column with elevation | 
| points | - sf points | 
calc. height difference in m
a <- stplanr::geo_code("Jena")
b <- stplanr::geo_code("Weimar")
a_to_b <- data.frame(rbind(a,b))
elev_p <- hikeR::hike_spatial_elev(a_to_b,shiny_progress = F,apikey = Sys.getenv("apikey"))
hike_height_diff(elev_p,col = "elev")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.