27ec81f53bd20a83205e08a0ce294ba914ab0c74
GeoData
Toolkit zum Export von Geodaten in Unity-kompatible Assets (export_unity/...).
1) Wie startet man das Projekt?
Voraussetzungen
- Python
>=3.11,<3.13 uv- GDAL (inkl.
osgeo) - Optional fuer Gebaeude:
cjio,citygml-tools
Schnellstart
cd GeoData
uv sync
uv run python geodata_to_unity.py --setup
uv run python geodata_to_unity.py --export all
Alternative mit Archivdaten
uv run python geodata_to_unity.py --build-from-archive --export all
2) Welche Funktionen umfasst das Projekt und wie werden diese genutzt?
# Hoehenmodelle (PNG16) + tile_index.csv
uv run python geodata_to_unity.py --export heightmap
# Orthofotos (JPG), nutzt tile_index.csv
uv run python geodata_to_unity.py --export textures
# Gebaeude (GLB) aus CityGML LoD2
uv run python geodata_to_unity.py --export buildings
# Baeume (CSV + GLB)
uv run python geodata_to_unity.py --export trees
Hauptausgaben
export_unity/height_png16/undexport_unity/tile_index.csvexport_unity/ortho_jpg/export_unity/buildings_tiles/export_unity/trees*/
3) Welche externen Bibliotheken und Quellen wurden verwendet?
Bibliotheken/Tools
- Python
- uv
- GDAL
- cjio
- citygml-tools
Externe Datenquellen (Kategorien)
- DGM1 (GeoTIFF) in
raw/dgm1/ - DOP20 (JP2) in
raw/dop20/jp2/ - CityGML LoD2 in
raw/citygml/lod2/ - Optional: DOM1, BDOM, LPO/LPG fuer Baum-/Masken-Workflows
Description
Languages
Python
75.3%
C#
20.4%
Shell
3.4%
Batchfile
0.9%