Skip to content

feat(raster): add RS_BandPixelType, RS_BandNoDataValue, RS_BandIsNoData UDFs#612

Draft
Kontinuation wants to merge 3 commits intoapache:mainfrom
Kontinuation:pr11-rs-band-accessors
Draft

feat(raster): add RS_BandPixelType, RS_BandNoDataValue, RS_BandIsNoData UDFs#612
Kontinuation wants to merge 3 commits intoapache:mainfrom
Kontinuation:pr11-rs-band-accessors

Conversation

@Kontinuation
Copy link
Member

Summary

  • Add RS_BandPixelType, RS_BandNoDataValue, and RS_BandIsNoData raster UDFs to sedona-raster-functions
  • Each function supports per-band queries with an optional band index parameter (defaults to band 1)
  • Includes unit tests and benchmark entries in native-raster-functions.rs

@Kontinuation Kontinuation force-pushed the pr11-rs-band-accessors branch 2 times, most recently from 9704e09 to 17ee748 Compare February 19, 2026 02:27
…nd validate_band_index utilities

Add byte_size() and pixel_type_name() methods to BandDataType enum in
sedona-schema. Add nodata_value_as_f64() default method to BandMetadataRef
trait in sedona-raster. Add validate_band_index() utility in
sedona-raster-functions to deduplicate band validation logic across UDFs.
…DataValue, RS_BandIsNoData

Replace local band_data_type_name(), data_type_byte_size(), bytes_to_f64(),
and validate_band_index() helpers with shared BandDataType.pixel_type_name(),
BandDataType.byte_size(), BandMetadataRef.nodata_value_as_f64(), and
raster_utils::validate_band_index() from pr15-raster-utilities.
@Kontinuation Kontinuation force-pushed the pr11-rs-band-accessors branch from 17ee748 to 53c633f Compare February 19, 2026 10:39
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

Comments