Skip to content

v0.2.0

Choose a tag to compare

@cboettig cboettig released this 13 Jun 21:39
· 157 commits to main since this release
e525a4d

First tagged release of cng-datasets. Collects the correctness, feature, and infrastructure work accumulated since the untagged 0.1.1.

⚠️ Breaking

  • Default raster→H3 reducer is now mean (was average) and the default algorithm is the mass-conserving exact-extract path. Rasters built before this change have undercounted totals and should be reprocessed (#84). The previous GDAL-Warp behavior is available via --method warp-centroid.

Added

  • --method flag for raster→H3 aggregation: mass-conserving exact-extract (default) and opt-in warp-centroid (#86)
  • max/min/mode --hex-resampling reducers for peak/richness and categorical rasters (#96, #80)
  • Multi-value --nodata with categorical-safe COG overviews (#108)
  • LineString geometry support in H3 hex tiling via buffering (#69)
  • Multi-cluster configuration (ClusterConfig) and reusable YAML cluster profiles (--profile) for non-NRP deployments (#57, #58)

Changed

  • Removed the geoparquet-io dependency — DuckDB 1.5 writes GeoParquet natively (#56)
  • CI lint (ruff) is now blocking (#90, #94); agent/dev instructions are Docker-based (#97)
  • cng-convert-to-parquet always creates a row-unique _cng_fid on both convert paths (#43)

Fixed

  • Mass-conserving area-weighted raster→H3 aggregation, fixing ~50% mass loss (#84)
  • BLOB→GEOMETRY cast for MULTIPOINT/WKB sources on both convert paths, fixing null geometries in PMTiles (#61)
  • Post-hex-build UBIGINT assertion on all h{N≥1} columns + intra-partition _cng_fid ordering for row-group pruning (#102, #103)
  • Sub-H3-cell polygons retained via representative-point fallback (#104); antimeridian/polar boundary cells split correctly (#92)
  • Deterministic, lazy PROJ configuration (proj.db MINOR ≥ 7) (#72, #91, #101); M/3D geometry flattened to 2D (#50, #51, #59)
  • Non-COG source auto-detection and /vsis3/ COG write (#66, #68); rclone-config mount in raster hex job (#99); TIPPECANOE_MAX_THREADS in the PMTiles job (#77)
  • Bucket CORS exposes range-read headers (#35, #79, #87); network-free workflow-generation tests (#112)

Full changelog: CHANGELOG.md