Commit Graph

35 Commits

Author SHA1 Message Date
2e36ca5613 Add river ortho recovery from saved masks 2026-02-11 23:06:02 +01:00
0c07d169b3 Add monolithic archive build mode with clean+validate 2026-02-11 14:36:00 +01:00
3422979ebf Prefer manual _mask_viz for tree water masks 2026-02-11 13:43:10 +01:00
227b89cccb Support boundary_outflows and sink_areas in sink params 2026-02-11 00:26:07 +01:00
8bc69ef64d Add boundary sink ghost cell groups to SWE manifest 2026-02-11 00:00:28 +01:00
91ad6e1a0a Use single sources TOML for boundary inflow and source area params 2026-02-10 23:48:49 +01:00
2dc6cf2b99 Add SWE boundary v2 export with boundary inflow/source area cells 2026-02-10 22:02:08 +01:00
6dab4779d6 Export per-tile source/sink ID EXRs in SWE LOD boundary manifest 2026-02-10 01:12:07 +01:00
282809d0d8 Fix building texture mapping and tree water-mask fallback 2026-02-10 01:09:38 +01:00
c63f21cf81 Add SWE boundary mask pipeline and mask tooling 2026-02-08 03:18:16 +01:00
6c434882b8 fix(river): Fix ValueError in lake centroid iteration 2026-02-05 00:31:22 +01:00
56b5743b5f fix(buildings): Replace VSIUnlink with Unlink for GDAL compatibility 2026-02-04 22:12:37 +01:00
3b57981a25 fix(buildings): Implement dynamic roof texture extraction from VRT
Fixed the issue where 2km building tiles had incorrect roof textures because they relied on 1km texture files. Now, textures are dynamically extracted from the global Ortho VRT using the exact building tile bounds, ensuring perfect alignment and full coverage.
2026-02-04 21:31:40 +01:00
62aa4ec59f feat(config): Add configuration for lake processing and manual masks
Added `LakeConfig` to `RiverErosionConfig` to support HydroLAKES integration and manual override settings. Updated config parsing logic to handle the new fields.
2026-02-04 00:58:14 +01:00
f2d71da8e1 fix(buildings): Optimize wall texture sampling with VRT windowed read
Replaced the memory-intensive full image read of per-tile orthophotos with a windowed read from the global Ortho VRT. This fixes memory crashes and ensures correct texture coverage for buildings that cross tile boundaries.
2026-02-03 23:35:51 +01:00
c9d7677b15 perf(heightmaps): Use in-memory warping for heightmap export
Improved performance and reduced disk I/O by using GDAL's MEM driver for intermediate warp operations. The warped dataset is now passed directly to the translate step without being written to a temporary file.
2026-02-03 23:15:01 +01:00
f9668f0549 fix(buildings): Implement windowed reading for ground snapping
Optimized memory usage by reading only the required pixel window from the heightmap VRT instead of loading the entire dataset into memory. This prevents crashes on large datasets while maintaining scientific accuracy for ground-snapping.
2026-02-03 23:12:47 +01:00
358e093e79 fix(buildings): Refactor _run to handle arguments with spaces correctly
Refactored the subprocess wrapper to only split the command part (first element) if it contains spaces, while preserving spaces in subsequent arguments (like file paths). Added unit tests for various scenarios including command overrides and error handling.
2026-02-03 23:09:21 +01:00
1a0ab1e4b6 Add SWE LOD exports and improve Unity importers
- add swe_lod config and exporter for height/porosity/building EXRs

- write river mask PNGs and add tree water/bridge masking

- update Unity importers with tile selection, ortho fallback, and building prefabs
2026-02-03 23:02:37 +01:00
196c8b9890 Align erosion to mask with order-only rivers 2026-01-28 03:30:09 +01:00
08b7f366b7 Log ortho writes in river erosion 2026-01-28 00:19:23 +01:00
30e254c10e removed deprecated river erosion 2026-01-28 00:05:25 +01:00
333cda6cbe Add seam-safe river erosion and masked orthos 2026-01-28 00:01:58 +01:00
c68fbc4c35 Update downloader and river erosion 2026-01-23 23:56:50 +01:00
4c8f87755b Add HydroRIVERS river erosion post-process 2026-01-23 20:47:42 +01:00
9947e9df74 Use per-tile heightmap scaling 2026-01-23 16:40:51 +01:00
c930d5f1e1 Add tile_key to manifest 2026-01-23 16:06:12 +01:00
a8f954805e Extend lpolpg split workflow
Changelog:

- add --split-lpolpg-delete-source to remove source files after split

- auto-split after downloads when lpolpg is enabled in config
2026-01-22 00:59:37 +01:00
8ef494f446 Add downloader configs and update geodata pipeline 2026-01-21 14:16:39 +01:00
73ec27e3b7 Add Unity importer scripts and handle CityJSON transform 2026-01-14 19:40:16 +01:00
4aaced0462 Update geodata pipeline and exports 2026-01-05 22:17:54 +01:00
3aed6333bc Fix tree warp and CityJSON handling 2025-12-20 00:00:29 +01:00
67a2403c25 Add buildings and trees export pipelines 2025-12-19 23:29:50 +01:00
0a161ea1fd Align dop20 filelist handling with archive source 2025-12-15 22:47:18 +01:00
1cea248a6a Refactor to config-driven CLI and library pipeline 2025-12-15 22:28:21 +01:00