A preprocessed calculation using a sample of 200 buildings and 163 amenity locations both taken from OpenGeodata.NRW. Additionally, a polygon grid with a spatial resolution of 500 meters for aggregation purposes is delivered.

data(testdata)

Format

od_result of class "list" and grid_500m of class ("sfc_POLYGON", "sfc")

Source

OpenGeodata.NRW

References

Land NRW, 2020-11-03 (OpenGeodata.NRW)

Examples

#> #> Attaching package: ‘dplyr’
#> The following objects are masked from ‘package:stats’: #> #> filter, lag
#> The following objects are masked from ‘package:base’: #> #> intersect, setdiff, setequal, union
#> Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 6.3.1
data(testdata) targets_sf <- sf::st_as_sf(testdata$od_result$targets, coords = c("x", "y") ) %>% sf::st_set_crs(4326) %>% sf::st_transform(3035) plot(testdata$grid_500m$geometry, reset = FALSE)
plot(sf::st_transform(testdata$od_result$sources, 3035)$geom, add = TRUE)
plot(targets_sf$geometry, col = "red", pch = 20, add = TRUE)