rcrisp
Provides tools to automate the morphological delineation of riverside urban areas following the CRiSp (City River Spaces) method.
https://github.com/cityriverspaces/rcrisp
Category: Hydrosphere
Sub Category: Ocean and Hydrology Data Access
Last synced: about 12 hours ago
JSON representation
Repository metadata
Automate the morphological delineation of riverside urban areas.
- Host: GitHub
- URL: https://github.com/cityriverspaces/rcrisp
- Owner: CityRiverSpaces
- License: other
- Created: 2024-04-22T11:25:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-24T13:26:28.000Z (about 1 month ago)
- Last Synced: 2025-12-06T15:41:54.522Z (20 days ago)
- Language: R
- Homepage: https://cityriverspaces.github.io/rcrisp/
- Size: 83.4 MB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 21
- Releases: 5
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codemeta: codemeta.json
README.Rmd
---
output: github_document
bibliography: vignettes/references.bib
csl: inst/csl/apa.csl
link-citations: true
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
```{r srr-tags, eval=FALSE, echo=FALSE}
#' @srrstats {G1.2} Life cycle badge added in the README and statement on state
#' of development added in the "Contributing" section.
```
# rcrisp
[](https://github.com/CityRiverSpaces/rcrisp/actions/workflows/R-CMD-check.yaml) [](https://www.repostatus.org/#active) [](https://doi.org/10.5281/zenodo.15793526) [](https://CRAN.R-project.org/package=rcrisp) [](https://lifecycle.r-lib.org/articles/stages.html#stable) [](https://cityriverspaces.r-universe.dev/) [](https://research-software-directory.org/software/crisp) [](https://github.com/ropensci/software-review/issues/718)
rcrisp provides tools to automate the morphological delineation of riverside urban areas following a method developed in @forgaci2018 [pp. 88-89]. The method is based on the premise that analyses of riverside urban phenomena are often done without a clear and consistent spatial definition of the area of interest and that a morphological delineation can provide a more objective and comparable approach.
Accordingly, the method proposes a hierarchical delineation of four spatial units: the river valley, the river corridor, the corridor segments and the river space. These units are defined based on the combined morphologies of the river valley and urban form. The resulting delineations can be used in any downstream analysis of riverside urban areas that can benefit from consistent and comparable spatial units, including land use, accessibility, and ecosystem services assessments.
The package includes functions to delineate the river valley, the river corridor, the corridor segments, and the river space (i.e., the area between the riverbanks and the first line of buildings) as well as an all-in-one function that runs all desired delineations. The package also includes functions to download and preprocess OpenStreetMap (OSM) and global Digital Elevation Model (DEM) data, which are required as input data for the delineation process.
## Workflow at a glance
1. (Optionally) get OSM and DEM base layers
2. Run the all-in-one `delineate()` or delineation-specific `delineate_*()` functions to compute valley, corridor, segments, and/or river space
3. Visualize/export results for downstream analysis
See the [Getting started vignette](https://cityriverspaces.github.io/rcrisp/articles/getting-started.html) for further details about the purpose of the package, an end-to-end example, data requirements, and indication of use cases.
## Installation
You can install the released version of rcrisp from [CRAN](https://cran.r-project.org) with:
``` r
install.packages("rcrisp")
```
You can install the development version of rcrisp from [GitHub](https://github.com/) with:
``` r
# install.packages("pak")
pak::pak("CityRiverSpaces/rcrisp")
```
## Example
This is a basic example which shows you how to solve a common problem:
```{r example, warning=FALSE, message=FALSE}
library(rcrisp)
# Set location parameters
city_name <- "Bucharest"
river_name <- "Dâmbovița"
epsg_code <- 32635
# Delineate river corridor
bd <- delineate(city_name, river_name, segments = TRUE)
# Get base layers for plotting
bb <- get_osm_bb(city_name)
streets <- get_osm_streets(bb, epsg_code)$geometry
railways <- get_osm_railways(bb, epsg_code)$geometry
# Plot results
plot(bd$corridor)
plot(railways, col = "darkgrey", add = TRUE, lwd = 0.5)
plot(streets, add = TRUE)
plot(bd$segments, border = "orange", add = TRUE, lwd = 3)
plot(bd$corridor, border = "red", add = TRUE, lwd = 3)
```
## Contributing
rcrisp is in a stable state of development, with some degree of active subsequent development as envisioned by the primary authors.
We also look very much forward to contributions. See the [Contributing Guide](https://github.com/CityRiverSpaces/rcrisp/blob/main/.github/CONTRIBUTING.md) for further details.
This package is released with a [Contributor Code of Conduct](https://github.com/CityRiverSpaces/rcrisp/blob/main/.github/CODE_OF_CONDUCT.md). By contributing to this project you agree to abide by its terms.
## References
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: 'rcrisp: Automate the Delineation of Urban River Spaces'
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Claudiu
family-names: Forgaci
email: c.forgaci@tudelft.nl
affiliation: Delft University of Technology
orcid: 'https://orcid.org/0000-0003-3218-5102'
- given-names: Francesco
family-names: Nattino
email: f.nattino@esciencecenter.nl
affiliation: Netherlands eScience Center
orcid: 'https://orcid.org/0000-0003-3286-0139'
contributors:
- given-names: Fakhereh
family-names: Alidoost
email: f.alidoost@esciencecenter.nl
affiliation: Netherlands eScience Center
orcid: 'https://orcid.org/0000-0001-8407-6472'
- given-names: Meiert Willem
family-names: Grootes
email: m.grootes@esciencecenter.nl
affiliation: Netherlands eScience Center
orcid: 'https://orcid.org/0000-0002-5733-4795'
repository-code: 'https://github.com/CityRiverSpaces/rcrisp'
identifiers:
- type: doi
value: 10.5281/zenodo.15793526
abstract: >-
Automates the process of urban river space delineation
using the CRiSp (City River Spaces) method.
keywords:
- urban rivers
- geospatial data
license: Apache-2.0
Owner metadata
- Name: CRiSp
- Login: CityRiverSpaces
- Email:
- Kind: organization
- Description: City River Spaces
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/162456575?v=4
- Repositories: 1
- Last ynced at: 2024-03-21T12:36:06.250Z
- Profile URL: https://github.com/CityRiverSpaces
GitHub Events
Total
- Create event: 54
- Release event: 1
- Issues event: 61
- Watch event: 1
- Delete event: 57
- Issue comment event: 115
- Push event: 285
- Pull request review comment event: 94
- Pull request review event: 172
- Pull request event: 97
Last Year
- Create event: 54
- Release event: 1
- Issues event: 61
- Watch event: 1
- Delete event: 57
- Issue comment event: 115
- Push event: 285
- Pull request review comment event: 94
- Pull request review event: 172
- Pull request event: 97
Committers metadata
Last synced: 1 day ago
Total Commits: 1,270
Total Committers: 5
Avg Commits per committer: 254.0
Development Distribution Score (DDS): 0.337
Commits in past year: 879
Committers in past year: 3
Avg Commits per committer in past year: 293.0
Development Distribution Score (DDS) in past year: 0.332
| Name | Commits | |
|---|---|---|
| Claudiu Forgaci | c****i@g****m | 842 |
| Francesco Nattino | f****o@e****l | 328 |
| SarahAlidoost | f****t@e****l | 58 |
| Meiert Willem Grootes | 4****s | 33 |
| Meiert Grootes | m****s@M****l | 9 |
Committer domains:
Issue and Pull Request metadata
Last synced: 25 days ago
Total issues: 52
Total pull requests: 74
Average time to close issues: about 2 months
Average time to close pull requests: 3 days
Total issue authors: 2
Total pull request authors: 2
Average comments per issue: 1.04
Average comments per pull request: 0.53
Merged pull request: 47
Bot issues: 0
Bot pull requests: 0
Past year issues: 52
Past year pull requests: 74
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 3 days
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 1.04
Past year average comments per pull request: 0.53
Past year merged pull request: 47
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- cforgaci (49)
- fnattino (3)
Top Pull Request Authors
- cforgaci (59)
- fnattino (15)
Top Issue Labels
- testing (14)
- enhancement (8)
- documentation (7)
- bug (6)
- data (5)
- invalid (5)
- good first issue (4)
- rOpenSci review (2)
- use case (2)
- release (1)
- dissemination (1)
Top Pull Request Labels
- rOpenSci review (19)
- documentation (5)
- testing (1)
- release (1)
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 272 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
cran.r-project.org: rcrisp
Automate the Delineation of Urban River Spaces
- Homepage: https://cityriverspaces.github.io/rcrisp/
- Documentation: http://cran.r-project.org/web/packages/rcrisp/rcrisp.pdf
- Licenses: Apache License (≥ 2)
- Latest release: 0.3.1 (published about 1 month ago)
- Last Synced: 2025-12-24T00:01:35.682Z (3 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 272 Last month
-
Rankings:
- Dependent packages count: 26.132%
- Dependent repos count: 32.174%
- Average: 48.245%
- Downloads: 86.43%
- Maintainers (1)
Score: 10.856495867345446