gssi {greenR} | R Documentation |
Green Space Similarity Index (GSSI)
Description
This function calculates the Green Space Similarity Index (GSSI) for a list of cities,
based on the variability of green space sizes and their connectivity.
The function uses the spatstat
package to calculate proximity measures and combines these
with area-based metrics to form the GSSI. The index is useful for comparing urban green
spaces across different cities.
Usage
gssi(green_spaces_list, equal_area_crs = "ESRI:54009")
Arguments
green_spaces_list |
A list of 'sf' objects, each representing the green spaces in a city. |
equal_area_crs |
A character string representing an equal-area CRS for accurate area measurement. Default is "ESRI:54009". |
Value
A numeric vector of normalized GSSI values for each city.
Examples
## Not run:
d1 <- get_osm_data("New Delhi, India")
dsf <- d1$green_areas$osm_polygons
d2 <- get_osm_data("Basel, Switzerland")
bsf <- d2$green_areas$osm_polygons
d3 <- get_osm_data("Medellin, Colombia")
msf <- d3$green_areas$osm_polygons
cities_data <- list(dsf, bsf, msf)
gssi_values <- gssi(cities_data)
## End(Not run)
[Package greenR version 0.0.1.3 Index]