sln2points: Generate spatial points representing nodes on a...

Description Usage Arguments Examples

View source: R/SpatialLinesNetwork.R

Description

Generate spatial points representing nodes on a SpatialLinesNetwork or sfNetwork.

Usage

1

Arguments

sln

The SpatialLinesNetwork to use.

Examples

1
2
3
4
5
6
data(routes_fast)
rnet <- overline(routes_fast, attrib = "length")
SLN <- SpatialLinesNetwork(rnet)
(sln_nodes = sln2points(SLN))
plot(SLN)
plot(sln_nodes, add = TRUE)

stplanr documentation built on Dec. 23, 2017, 5:41 p.m.