rcoins
Identify continuous lines in a spatial network.
CRiSp (City River Spaces) provides tools to automate the morphological delineation of riverside urban areas.
CRiSp (City River Spaces) provides tools to automate the morphological delineation of riverside urban areas.
You can install the released version of CRiSp from CRAN with:
install.packages("CRiSp")
You can install the development version of CRiSp from GitHub with:
# install.packages("pak")
pak::pak("CityRiverSpaces/CRiSp")
This is a basic example which shows you how to solve a common problem:
library(CRiSp)
# Set location parameters
city_name <- "Bucharest"
river_name <- "Dâmbovița"
epsg_code <- 32635
# Get base layer for plotting
bb <- get_osm_bb(city_name)
streets <- get_osm_streets(bb, epsg_code)$geometry
# Delineate river corridor
corridor <- delineate(city_name, river_name)$corridor
# Plot results
plot(corridor, border = "orange", lwd = 3)
plot(streets, add = TRUE)
We look very much forward to contributions to the package. See the Contributing Guide for further details.
This package is released with a Contributor Code of Conduct. By contributing to this project you agree to abide by its terms.
City River Spaces, a tool for automated and scalable delineation of urban river spaces with spatial-temporal big data
Identify continuous lines in a spatial network.