conductor(plan): Mark tasks for 'Fix roof textures' as complete

This commit is contained in:
2026-02-04 21:33:37 +01:00
parent 3b57981a25
commit af9393e186

View File

@@ -0,0 +1,19 @@
# Implementation Plan - Fix Roof Textures
## Phase 1: Logic Implementation
- [~] Task: Create reproduction test in `tests/test_roof_textures.py`
- [ ] Simulate 2km bounds.
- [ ] Verify that current logic fails (or would read wrong file).
- [ ] Verify new logic calls Warp with correct 2km bounds.
- [x] Task: Implement `_extract_texture_from_vrt` in `geodata_pipeline/buildings.py`. (3b57981)
- [ ] Use `gdal.Warp` to crop VRT to bounds.
- [ ] Use `gdal.Translate` to write JPEG to memory buffer (VSIMEM).
- [ ] Return bytes.
- [x] Task: Update `export_buildings` loop. (3b57981)
- [ ] Replace `_load_ortho` call with `_extract_texture_from_vrt`.
- [ ] Determine resolution dynamically (e.g. 20cm/px).
## Phase 2: Verification
- [ ] Task: Export a single 2km building tile.
- [ ] Task: Check the embedded texture (GLB inspection or Unity import).