Learn R Programming

spNetwork (version 0.4.3)

add_center_lines: 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

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab