Package: sfnetworks 0.6.5
sfnetworks: Tidy Geospatial Networks
Provides a tidy approach to spatial network analysis, in the form of classes and functions that enable a seamless interaction between the network analysis package 'tidygraph' and the spatial analysis package 'sf'.
Authors:
sfnetworks_0.6.5.tar.gz
sfnetworks_0.6.5.tar.gz(r-4.5-noble)sfnetworks_0.6.5.tar.gz(r-4.4-noble)
sfnetworks_0.6.5.tgz(r-4.4-emscripten)sfnetworks_0.6.5.tgz(r-4.3-emscripten)
sfnetworks.pdf |sfnetworks.html✨
sfnetworks/json (API)
NEWS
# Install 'sfnetworks' in R: |
install.packages('sfnetworks', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/luukvdmeer/sfnetworks/issues
Pkgdown site:https://luukvdmeer.github.io
- roxel - Road network of Münster Roxel
Last updated 19 days agofrom:a2a5f6b35b. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 06 2024 |
R-4.5-linux | OK | Dec 06 2024 |
Exports:%>%activateactiveas_sfnetworkedge_azimuthedge_circuityedge_containsedge_contains_properlyedge_coversedge_crossesedge_displacementedge_equalsedge_intersectsedge_is_covered_byedge_is_disjointedge_is_withinedge_is_within_distanceedge_lengthedge_overlapsedge_touchesis.sfnetworknode_equalsnode_intersectsnode_is_covered_bynode_is_disjointnode_is_withinnode_is_within_distancenode_Mnode_touchesnode_Xnode_Ynode_Zsf_attrsfnetworkst_network_bboxst_network_blendst_network_costst_network_joinst_network_pathsto_spatial_contractedto_spatial_directedto_spatial_explicitto_spatial_neighborhoodto_spatial_shortest_pathsto_spatial_simpleto_spatial_smoothto_spatial_subdivisionto_spatial_subsetto_spatial_transformed
Dependencies:classclassIntclicpp11crayonDBIdplyre1071fansigenericsgeometriesglueigraphKernSmoothlatticelifecyclelwgeommagrittrMASSMatrixpillarpkgconfigproxypurrrR6Rcpprlangs2sfsfheadersstringistringrtibbletidygraphtidyrtidyselectunitsutf8vctrswithrwk
The sfnetwork data structure
Rendered fromsfn01_structure.Rmd
usingknitr::rmarkdown
on Dec 06 2024.Last update: 2024-12-06
Started: 2021-11-26
Network pre-processing and cleaning
Rendered fromsfn02_preprocess_clean.Rmd
usingknitr::rmarkdown
on Dec 06 2024.Last update: 2024-12-06
Started: 2021-11-26
Spatial joins and filters
Rendered fromsfn03_join_filter.Rmd
usingknitr::rmarkdown
on Dec 06 2024.Last update: 2024-12-06
Started: 2021-11-26
Routing
Rendered fromsfn04_routing.Rmd
usingknitr::rmarkdown
on Dec 06 2024.Last update: 2024-12-06
Started: 2021-11-26
Spatial morphers
Rendered fromsfn05_morphers.Rmd
usingknitr::rmarkdown
on Dec 06 2024.Last update: 2024-12-06
Started: 2021-11-26
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert a foreign object to a sfnetwork | as_sfnetwork as_sfnetwork.default as_sfnetwork.linnet as_sfnetwork.psp as_sfnetwork.sf as_sfnetwork.sfc as_sfnetwork.sfNetwork as_sfnetwork.sfnetwork as_sfnetwork.tbl_graph |
Extract the active element of a sfnetwork as spatial tibble | as_tibble as_tibble.sfnetwork |
Convert a sfnetwork into a linnet | as.linnet as.linnet.sfnetwork |
Plot sfnetwork geometries with ggplot2 | autoplot autoplot.sfnetwork |
Check if an object is a sfnetwork | is.sfnetwork |
Query node coordinates | node_coordinates node_M node_X node_Y node_Z |
Plot sfnetwork geometries | plot.sfnetwork |
Road network of Münster Roxel | roxel |
s2 methods for sfnetworks | as_s2_geography.sfnetwork s2 |
sf methods for sfnetworks | sf st_agr.sfnetwork st_agr<-.sfnetwork st_area.sfnetwork st_as_s2.sfnetwork st_as_sf.sfnetwork st_bbox.sfnetwork st_coordinates.sfnetwork st_crop.morphed_sfnetwork st_crop.sfnetwork st_crs.sfnetwork st_crs<-.sfnetwork st_difference.morphed_sfnetwork st_difference.sfnetwork st_drop_geometry.sfnetwork st_filter.morphed_sfnetwork st_filter.sfnetwork st_geometry.sfnetwork st_geometry<-.sfnetwork st_intersection.morphed_sfnetwork st_intersection.sfnetwork st_intersects.sfnetwork st_is.sfnetwork st_is_valid.sfnetwork st_join.morphed_sfnetwork st_join.sfnetwork st_m_range.sfnetwork st_nearest_points.sfnetwork st_normalize.sfnetwork st_precision.sfnetwork st_reverse.sfnetwork st_sample.sfnetwork st_set_precision.sfnetwork st_shift_longitude.sfnetwork st_simplify.sfnetwork st_transform.sfnetwork st_wrap_dateline.sfnetwork st_zm.sfnetwork st_z_range.sfnetwork |
Query sf attributes from the active element of a sfnetwork | sf_attr |
Create a sfnetwork | sfnetwork |
Query spatial edge measures | edge_azimuth edge_circuity edge_displacement edge_length spatial_edge_measures |
Query edges with spatial predicates | edge_contains edge_contains_properly edge_covers edge_crosses edge_equals edge_intersects edge_is_covered_by edge_is_disjoint edge_is_within edge_is_within_distance edge_overlaps edge_touches spatial_edge_predicates |
Spatial morphers for sfnetworks | spatial_morphers to_spatial_contracted to_spatial_directed to_spatial_explicit to_spatial_neighborhood to_spatial_shortest_paths to_spatial_simple to_spatial_smooth to_spatial_subdivision to_spatial_subset to_spatial_transformed |
Query nodes with spatial predicates | node_equals node_intersects node_is_covered_by node_is_disjoint node_is_within node_is_within_distance node_touches spatial_node_predicates |
Get the bounding box of a spatial network | st_network_bbox |
Blend geospatial points into a spatial network | st_network_blend |
Compute a cost matrix of a spatial network | st_network_cost |
Join two spatial networks based on equality of node geometries | st_network_join |
Paths between points in geographical space | st_network_paths |