Skip to contents

All functions

add_weights()
Add weights to the network.
as_bbox()
Get the bounding box from the x object
as_network()
Create a network from a collection of line strings.
bucharest_delineation
CRiSp example delineation data for Bucharest
cache_directory()
Return the cache directory used by the package
clean_network()
Clean a spatial network.
clear_cache()
Remove cache files
default_stac_dem
Endpoint and collection ID of the default STAC collection where to access digital elevation model (DEM) data. This is the global Copernicus DEM 30 dataset hosted on AWS, as listed in the EarthSearch STAC API endpoint. Note that AWS credentials need to be set up in order to access the data (not the catalog). References:
delineate()
Delineate a corridor around a river.
delineate_corridor()
Delineate a river corridor on a spatial network.
delineate_riverspace()
Delineate the space surrounding a river
delineate_segments()
Split a river corridor into segments
delineate_valley()
Extract the river valley from the DEM
dem_to_cog()
Write DEM to cloud optimized GeoTiff file as specified location
flatten_network()
Flatten a network by adding points at apparent intersections.
get_dem()
Access digital elevation model (DEM) for a given region
get_osm_bb()
Get the bounding box of a city
get_osm_buildings()
Get OpenStreetMap buildings
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_river_aoi()
Get an area of interest (AoI) around a river, cropping to the bounding box of a city
get_stac_asset_urls()
Retrieve the URLs of all the assets intersecting a bbox from a STAC API
get_utm_zone()
Get the UTM zone of a spatial object
load_dem()
Retrieve DEM data from a list of STAC assets
osmdata_as_sf()
Retrieve OpenStreetMap data as sf object
reproject()
Reproject a raster or vector dataset to the specified coordinate reference system (CRS)