geoGraph v2.0.1
Added ggplot2 support for gGraph, gData, and gPath objects via autoplot() methods and geom_ggraph(), geom_gdata(), and geom_gpath() layers.
closestNodenow uses a faster KNN implementation for nearest neighbor searches by default. The legacy zone-expansion method is still available via method = “inArea”.Functions that temporarily toggle
sfsettings now restore the prior state on exit.Updated
gPath2distto now automatically return a vector or dist object based on the input typeUpdated
makeHexGridto handle date line crossinggGraphobjectsUpdated
isInAreato print a reproducible bounding box messageAdded
assignByRasterto assign raster cell values to graph nodes with customizable aggregation.Added
dijkstraBufferto identify nodes within a specified shortest-path distance from an origin.Added
makeHexGridfor explicit hexagonal grid construction.Deprecated
extractFromLayerin favor ofassignByPolygonandmakeGridin favor ofmakeSquareGrid.Added documentation for the
gPathclass and basic subsetting methods forgGraphandgDataobjectsAdded
setGraphandsetColorsas well as updated functionality ingetColors,getCosts, andsetCostsRemoved
getHistorymethod for gGraph objects and upgraded roxygen2 documentation from version 7.3.3 to 8.0.0Added comprehensive test coverage for cost functions and updated documentation
Updated
plot.gPath()and documentation for all dijkstra methodsUpdated
connectivityPlot()ensuring the color assignment matches the connected setFix incorrect handling of duplicate nodes in
dijkstraBetween(), ensuring zero-distance paths are properly represented.remove all use of deprecated packages (
spandmaptools), and move tosfobjects
