feat(sedona-gdal): add raster operations and vrt support#698
Merged
Kontinuation merged 16 commits intoapache:mainfrom Apr 1, 2026
Merged
feat(sedona-gdal): add raster operations and vrt support#698Kontinuation merged 16 commits intoapache:mainfrom
Kontinuation merged 16 commits intoapache:mainfrom
Conversation
This was referenced Mar 9, 2026
b7fa46a to
e1d4617
Compare
1b81e94 to
230774c
Compare
230774c to
e92db8b
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new GDAL raster operation wrappers and VRT dataset support to the sedona-gdal safe wrapper layer, building on the existing dataset/raster/vector abstractions.
Changes:
- Introduces
VrtDataset/VrtRasterBandwrappers with VRT creation, band add, simple source, and nodata helpers. - Adds raster operations:
rasterize,rasterize_affine(fast geotransform-only path), andpolygonize, with tests. - Exposes the new modules via
raster.rsandlib.rs.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
c/sedona-gdal/src/vrt.rs |
New VRT dataset and band wrappers + tests |
c/sedona-gdal/src/raster/rasterize.rs |
New GDALRasterizeGeometries wrapper + options + tests |
c/sedona-gdal/src/raster/rasterize_affine.rs |
New fast affine rasterize wrapper using custom transformer + tests |
c/sedona-gdal/src/raster/polygonize.rs |
New GDALPolygonize wrapper + options + tests |
c/sedona-gdal/src/raster.rs |
Exposes new raster modules |
c/sedona-gdal/src/lib.rs |
Exposes new vrt module |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stack
mainvia feat(sedona-gdal): add foundational wrapper utilities #696 and feat(sedona-gdal): add geometry and spatial ref primitives #695mainFollow-up since primitives merged
GdalApi::last_null_pointer_errinstead of constructingGdalError::NullPointerdirectlyTesting
cargo test -p sedona-gdalcargo clippy -p sedona-gdal -- -D warnings