Repository navigation
feat: read and serialize richer virtual rasters - #248
Conversation
Read source windows lazily through warped, derived and kernel VRT descriptions, retaining masks and GDAL arithmetic. Expose uploaded source maps in Python and WebAssembly, and serialize native virtual warps without materializing their pixels.
…lity # Conflicts: # crates/terrio/src/ops/warp.rs # docs/testing.md # scripts/conformance.py
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 19 minutes. View limit details
Walkthrough
Merge Risk:
|
Code reviewI reviewed Bugs
Security
Performance
Quality
CLAUDE.md
|
Preserve serialized band mappings and per-band nodata, including partial unified validity and TIFF PAM metadata. Parse warp options once per read, validate block windows, handle unknown CRS consistently, and document source reference resolution.
Code reviewI read the diff, the core, warp and driver changes, and the main paths in Bugs
Security
Performance
Quality
CLAUDE.md / AGENTS.md
|
Cache parsed mask descriptions, preserve serialized sampling options and GDAL resampler names, and reject unsupported virtual creation options. Keep native format nodata authoritative and retain per-band nodata through translation, statistics and sidecar updates. Expand conformance to every warp resampler, explicitly recording the GDAL generic sum clipping difference.
Code reviewI read the full diff except most of the 1,800-line Bugs
Security
Performance
Quality
CLAUDE.md / AGENTS.md
|
- Preserve PAM XML mixed content, comments, CRS and statistics while updating nodata through the same disk/memory I/O layer. - Compare ordinary multiband warps with distinct per-band nodata and destination fill against GDAL for nearest and bilinear resampling.
Code reviewI read the non- Bugs
Security
Performance
Quality
CLAUDE.md / AGENTS.md
|
- Parse optional PAM XML once when collecting dataset and per-band nodata. - Avoid unchecked first-band metadata indexing in lazy raster headers and windows.
Code reviewI read the first ~1,100 lines of the diff, which covers everything except the following:
Nothing below was compiled or run. Bugs
Security
Performance
Quality
CLAUDE.md / AGENTS.md
|
- Parse PAM XML once and preserve explicit dataset nodata fallbacks when band declarations are incomplete. - Use optional first-band access for empty nodata metadata instead of indexing.
…review/pr-248 # Conflicts: # crates/terrio/src/cog.rs
Code reviewI read the new Bugs
Security
Performance
Quality
CLAUDE.md / AGENTS.md
|
- Borrow VRT band XML descriptions instead of cloning every element per window. - Reject oversized declared warped blocks before source reads or buffer allocation. - Remove incomplete streamed raster sidecars on failure and document per-band nodata precedence.
Code reviewI read the first ~600 lines of the diff in detail: NOTICE, ROADMAP, CLI warp options, Bugs
Quality
Security
Performance
CLAUDE.md / AGENTS.md
|
Serialized VRTs retain lazy source reads through warped datasets, selected scalar derived bands and kernel filters. A native warp destination ending in
.vrtwrites a virtual description without reading all source pixels. Python and JavaScript/WebAssembly can open XML with uploaded source maps.Validation after merging current main (
bb871f6):Refs #238 (item 4).
Summary by CodeRabbit
New Features
UNIFIED_SRC_NODATAoptions for command-line warping.Documentation