Skip to content

feat(rust/sedona-testing): Add test helpers for loading raster test data#587

Open
Kontinuation wants to merge 1 commit intoapache:mainfrom
Kontinuation:pr1-sedona-testing-raster-helpers
Open

feat(rust/sedona-testing): Add test helpers for loading raster test data#587
Kontinuation wants to merge 1 commit intoapache:mainfrom
Kontinuation:pr1-sedona-testing-raster-helpers

Conversation

@Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented Feb 10, 2026

Summary

Relevant PR adding raster files to sedona-testing: apache/sedona-testing#10

  • Add test_raster(name) function in data.rs for resolving paths to raster test files from the sedona-testing submodule, mirroring the existing test_geoparquet() pattern.
  • Add raster_from_single_band() function in rasters.rs for programmatically building minimal single-band rasters in unit tests without GDAL or file I/O.
  • Update sedona-testing submodule to include raster test data files.

@Kontinuation Kontinuation marked this pull request as draft February 10, 2026 14:02
@Kontinuation Kontinuation force-pushed the pr1-sedona-testing-raster-helpers branch 2 times, most recently from 1805376 to bb7cc50 Compare February 19, 2026 02:27
Add test_raster() function in data.rs for resolving paths to raster test
files in the sedona-testing submodule, and raster_from_single_band() in
rasters.rs for programmatically building minimal single-band rasters in
unit tests. Update sedona-testing submodule to include raster test data
files (test1.tiff, test3.tif, test4.tiff, test5.tiff).
@Kontinuation Kontinuation force-pushed the pr1-sedona-testing-raster-helpers branch from bb7cc50 to 89808b8 Compare February 19, 2026 18:08
@Kontinuation Kontinuation marked this pull request as ready for review February 19, 2026 18:10
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