← Back to all sparks
D

dggridR

ANALYTICS
Velocity0.0

A discrete global grid generator grew cell traversal and became a usable spatial index.

discrete-global-gridsspatial-indexinggeospatialhexagonal-gridssf
Current state
dggridR builds discrete global grids — icosahedral tessellations of the Earth into equal-area hexagonal or triangular cells — by wrapping the DGGRID C++ engine. The 4.1.0 release adds dgneighbors, dgchildren and dgparent for moving between adjacent cells and across resolutions, plus dgpoints_to_cells and dgbin_points for mapping and aggregating point data into cells. New aperture 7 and mixed-aperture ISEA43H grid types arrive alongside them.
Where it's heading
The package changed hands in effect as well as in code: the 4.0.0 engine update to DGGRID v9.0b and the first real test suite were contributed by Sebastian Krantz, who also maintains the upstream engine fork, and 4.1.0's feature burst followed two weeks later. The direction of that burst is unmistakable — away from generating grids for plotting and toward using them as an indexing structure that point data gets binned into and navigated through.
Prediction
Expect the cell hierarchy functions to extend to non-hexagonal apertures and multi-level traversal, closing the remaining gaps against established global indexing systems.

Recent moves

  1. 3mo ago

    Cell neighbors, parents and children make the grid navigable

    ⚡ SPARK

    The release that turns dggridR from a tessellation generator into something you can traverse and index against, with adjacency, parent and child lookups plus direct point-to-cell mapping and binning. It follows two weeks after the engine modernization that made it possible.

    View source ↗
  2. 3mo ago

    Bundled DGGRID engine updated to v9.0b with a test suite

    Updates the vendored DGGRID C++ engine to v9.0b from the SebKrantz fork, re-architects the makeRF call for the new parameter order, and adds the package's first comprehensive testthat suite. The groundwork that 4.1.0's new grid types and traversal functions were built on two weeks later.

    View source ↗
  3. 3mo ago

    Master merged into development ahead of the 4.0 work

    A branch merge carrying a version bump, an added author and a documentation badge, tagged under an hour before 4.0.0. Repository housekeeping rather than a release.

    View source ↗