CRiSp

CRiSp (City River Spaces) provides tools to automate the morphological delineation of riverside urban areas.

4
contributors
Get started
466 commitsLast commit ≈ 3 days ago1 star0 forks

What CRiSp can do for you

CRiSp

R-CMD-check

CRiSp (City River Spaces) provides tools to automate the morphological delineation of riverside urban areas.

Installation

You can install the development version of CRiSp from GitHub with:

# install.packages("devtools")
devtools::install_github("CityRiverSpaces/CRiSp")

Example

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
bucharest_bb <- get_osm_bb(city_name)
bucharest_streets <- get_osm_streets(bucharest_bb, epsg_code)[, "geometry"]

# Delineate river corridor
bucharest_river <- delineate_corridor("Bucharest", "Dâmbovița", crs = epsg_code)
#> Warning: to_spatial_subdivision assumes attributes are constant over geometries
#> Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE

# Plot results
plot(bucharest_river, border = "orange", lwd = 3)
plot(bucharest_streets, add = TRUE)

Contributing

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.

Keywords
Programming language
  • R 100%
License
</>Source code

Participating organisations

Delft University of Technology
Netherlands eScience Center

Contributors

Related projects

CRiSp

City River Spaces, a tool for automated and scalable delineation of urban river spaces with spatial-temporal big data

Updated 10 months ago
In progress

Related software

rcoins

RC

Identify continuous lines in a spatial network.

Updated 4 days ago
4