From 49141eb35fe6f007f72051aba4f4ff31fd30d5a7 Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Tue, 3 Feb 2026 23:36:17 +0100 Subject: [PATCH] conductor(plan): Mark tasks for 'Optimize wall texture sampling' as complete --- .../optimize_wall_texture_sampling_20260203/plan.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 conductor/tracks/optimize_wall_texture_sampling_20260203/plan.md 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.