Skip to contents

Extract nodes from route network

Usage

rnet_get_nodes(rnet, p = NULL)

Arguments

rnet

A route network of the type generated by overline()

p

A point represented by an sf object the will split the route

Examples

rnet_get_nodes(route_network_sf)
#> Geometry set for 52 features 
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: -1.550964 ymin: 53.80432 xmax: -1.512596 ymax: 53.82957
#> Geodetic CRS:  WGS 84
#> First 5 geometries:
#> POINT (-1.550139 53.82495)
#> POINT (-1.550964 53.82408)
#> POINT (-1.546613 53.82493)
#> POINT (-1.534408 53.8282)
#> POINT (-1.545993 53.82494)