diff --git a/conductor/tracks/optimize_wall_texture_sampling_20260203/plan.md b/conductor/tracks/optimize_wall_texture_sampling_20260203/plan.md new file mode 100644 index 0000000..7994200 --- /dev/null +++ b/conductor/tracks/optimize_wall_texture_sampling_20260203/plan.md @@ -0,0 +1,11 @@ +# Implementation Plan - Optimize Wall Texture Sampling using VRT + +## Phase 1: Implement VRT-based Sampling +- [x] Task: Create reproduction test case in `tests/test_buildings_texture.py` (f2d71da) + - [ ] Mock GDAL Open on VRT and verify windowed read arguments. + - [ ] Verify handling of coordinates that might cross tile boundaries. +- [x] Task: Refactor orthophoto sampling in `geodata_pipeline/buildings.py` (f2d71da) + - [ ] Change input source from `ortho_path` to `cfg.work.ortho_vrt`. + - [ ] Calculate `xoff`, `yoff`, `xsize`, `ysize` based on tile bounds and VRT geotransform. + - [ ] Implement `ReadAsArray` with the calculated window. + - [ ] Adjust the pixel coordinate calculation (`col`, `row`) to be relative to the VRT window.