stplanr (version 0.9.0)

sln2points: Generate spatial points representing nodes on a SpatialLinesNetwork or sfNetwork.

Description

Generate spatial points representing nodes on a SpatialLinesNetwork or sfNetwork.

Usage

sln2points(sln)

Arguments

sln

The SpatialLinesNetwork or sfNetwork to use.

See Also

Other rnet: SpatialLinesNetwork, calc_catchment_sum(), calc_catchment(), calc_moving_catchment(), calc_network_catchment(), find_network_nodes(), gsection(), islines(), lineLabels(), overline_spatial(), overline(), plot,SpatialLinesNetwork,ANY-method, plot,sfNetwork,ANY-method, rnet_breakup_vertices(), rnet_group(), sum_network_links(), sum_network_routes()

Examples

Run this code
# NOT RUN {
data(routes_fast)
rnet <- overline(routes_fast, attrib = "length")
sln <- SpatialLinesNetwork(rnet)
(sln_nodes <- sln2points(sln))
plot(sln)
plot(sln_nodes, add = TRUE)
# }

Run the code above in your browser using DataLab