Skip to contents

All functions

add_weights()
Add weights to the network.
as_network()
Create a network from a collection of line strings.
bucharest
CRiSp example data for Bucharest
cap_corridor()
Cap the corridor by connecting the edge end points
clean_network()
Clean a spatial network.
corridor()
Delineate a river corridor on a spatial network.
corridor_edge()
Draw a corridor edge on the spatial network.
corridor_end_points()
Find the corridor end points.
delineate_corridor()
Delineate a corridor around a river.
delineate_riverspace()
Delinate the riverspace.
delineate_segments()
Delineate segments of a river corridor.
filter_network()
Subset a network keeping the only nodes that intersect a target geometry.
flatten_network()
Flatten a network by adding points at apparent intersections.
get_osm_bb()
Get the bounding box of a city
get_osm_city_boundary()
Get the city boundary from OpenStreetMap
get_osm_railways()
Get OpenStreetMap railways
get_osm_river()
Get the river centreline and surface from OpenStreetMap
get_osm_streets()
Get OpenStreetMap streets
get_osmdata()
Retrieve OpenStreetMap data for a given location
get_utm_zone()
Get the UTM zone of a spatial object
initial_corridor()
Draw the initial geometry of a river corridor.
initial_edges()
Identify the initial edges of the river corridor
nearest_node()
Find the node in a network that is closest to a target geometry.
osmdata_as_sf()
Retrieve OpenStreetMap data as sf object
river_buffer()
Draw a corridor as a fixed buffer region around a river.
set_units_like()
Set the units of x as the units of y
shortest_path()
Find shortest path between a pair of nodes in the network.
simplify_network()
Simplify a spatial network by removing multiple edges and loops.
split()
Split a geometry along a (multi)linestring.
split_aoi()
Split the area of interest (AoI) by a river.