get_bearing_per_row: Calculate the number of times to split/divide each...

Description Usage Arguments Value

View source: R/get_bearing_per_row.R

Description

This function loads an R object with the active geometry "linestring" and breaks each of these multilines to many lines.

Usage

1

Arguments

x

An sf object or sf dataframe consisting of a column denoting the length of geometry

max_length

Maximum length for each linestring. Can also be a floating value.

length_col

The field with the length variable

messaging

Progress indicator displaying in Percentages

Value

Returns the same R object with the addition of "splits_in_meters" columns


tayoso2/sfXtra documentation built on Dec. 23, 2021, 7:50 a.m.