View source: R/profile_points.R
profile_points | R Documentation |
This function segmentizes a continous line (sf-object) into points to calculates the distance between these points
profile_points(profile_line, df_max_length = 60000)
profile_line |
coordinates of the starting point of the line as longitude/latitude. E.g., c(0,0). |
df_max_length |
parameter of the function sf::st_segmentize. |
sfc-object including the profile line as points and the distance on the profile line
profile_points(profile_line(c(0, 0), c(1, 1), crs = "ESRI:54009"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.