Skip to contents

duckh3 0.2.0

CRAN release: 2026-10-11

BUILD

  • Requires DuckDB >= 1.5.6

  • Requires duckspatial >= 1.3.0

ENHANCEMENTS

  • Functions in vetorized mode automatically parse to UBIGINT when the input is a numeric vector.

  • Error message on wrong CRS is now displayed correctly (#3).

NEW FEATURES

  • New functions to convert polygon and linestring geometries to H3 cells (#2):
    • ddbh3_polygons_to_h3() / ddbh3_lines_to_h3() add a list column with the H3 cells intersecting each feature (string or UBIGINT).
    • ddbh3_polygons_to_spatial() / ddbh3_lines_to_spatial() return one row per intersecting cell, with geometry replaced by the cell hexagon boundary.
    • Polygons use DuckDB’s experimental polygon polyfill (overlap containment by default); lines are polyfilled via a buffer-then-exact-trim strategy since they have no native polyfill (buffer_scale argument).

duckh3 0.1.0

CRAN release: 2026-04-24

Learn more about this release here.

  • Initial CRAN submission.