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

JeremyGelb/spNetwork documentation built on Jan. 18, 2025, 3:44 p.m.