profile_points: Parameter values along a segmentized profile line

View source: R/profile_points.R

profile_pointsR Documentation

Parameter values along a segmentized profile line

Description

This function segmentizes a continous line (sf-object) into points to calculates the distance between these points

Usage

profile_points(profile_line, df_max_length = 60000)

Arguments

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.

Value

sfc-object including the profile line as points and the distance on the profile line

Examples

profile_points(profile_line(c(0, 0), c(1, 1), crs = "ESRI:54009"))


SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.