Align dop20 filelist handling with archive source

This commit is contained in:
2025-12-15 22:47:18 +01:00
parent 0017a2f888
commit 0a161ea1fd
10 changed files with 38 additions and 15 deletions

View File

@@ -43,6 +43,7 @@ This repository converts DGM1 elevation tiles into Unity-ready 16-bit PNG height
- Inspect an output tile: `gdalinfo export_unity/height_png16/<tile>.png | head`
- Override config paths: use `--config <path>`, `--raw-dgm1-path <dir>`, `--raw-dop20-path <dir>`.
- Use archives to populate raws: `uv run python geodata_to_unity.py --use-archive --export all` (unzips `archive/*` and copies dop20 filelist).
- Rebuild VRTs after moving data: add `--force-vrt`.
### Workflow Notes
- The pipeline computes a global min/max from the VRT to scale all tiles consistently; adjust `heightmap.out_res` or `heightmap.resample` in `geodata_config.json` if your AOI or target resolution changes.