add_center_lines: Add center vertex to lines

View source: R/geometrical_functions_sf.R

add_center_linesR Documentation

Add center vertex to lines

Description

Add to each feature of a feature collection of lines an additional vertex at its center.

Usage

add_center_lines(lines)

Arguments

lines

The feature collection of linestrings to use

Value

A feature collection of points

Examples

#This is an internal function, no example provided

spNetwork documentation built on Aug. 24, 2023, 5:10 p.m.