Skip to content

Comments

feat(raster): add RS_Count UDF#613

Draft
Kontinuation wants to merge 2 commits intoapache:mainfrom
Kontinuation:pr12-rs-count
Draft

feat(raster): add RS_Count UDF#613
Kontinuation wants to merge 2 commits intoapache:mainfrom
Kontinuation:pr12-rs-count

Conversation

@Kontinuation
Copy link
Member

Summary

  • Add RS_Count raster UDF to sedona-raster-functions for counting non-nodata pixels in a raster band
  • Supports an optional band index parameter (defaults to band 1) and an optional excludeNoDataValue boolean (defaults to true)
  • Includes unit tests and benchmark entries in native-raster-functions.rs

@Kontinuation Kontinuation force-pushed the pr12-rs-count branch 3 times, most recently from 221eb87 to e965685 Compare February 19, 2026 15:17
Replace local data_type_byte_size() and inline band index validation with
BandDataType.byte_size() and raster_utils::validate_band_index().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant