Rename package to geodata-toolkit

This commit is contained in:
s0wlz (Matthias Puchstein)
2025-12-17 00:22:30 +01:00
parent a85ecb3bbf
commit 15daf458fa
4 changed files with 5 additions and 8 deletions

View File

@@ -1,8 +1,7 @@
# Repository Guidelines
## Project Structure & Module Organization
- `geodata_to_unity.py` is the main CLI; library code lives in `geodata_pipeline/` (`heightmaps.py`, `orthophotos.py`, `config.py`, `setup_helpers.py`).
- `export_heightmaps.py` / `export_ortho_tiles.py` are legacy entrypoints packaged for wheels; the supported entrypoint is `geodata_to_unity.py`.
- `geodata_to_unity.py` is the main CLI; library code lives in `geodata_pipeline/` (`heightmaps.py`, `orthophotos.py`, `config.py`, `setup_helpers.py`). Legacy wrapper scripts have been removed; use `geodata_to_unity.py` directly.
- Working inputs (ignored): `raw/dgm1/`, `raw/dop20/jp2/`, `raw/citygml/lod1/`, `raw/citygml/lod2/`.
- Archives (ignored): `archive/dgm1/`, `archive/dop20/`, `archive/citygml/lod1/`, `archive/citygml/lod2/` (zip storage + dop20 filelist).
- Config: `geodata_config.json` (generated) or `geodata_config.example.json` for defaults.

View File

@@ -1,4 +1,4 @@
## GeoData Heightmap Export
## GeoData Toolkit
This repository converts DGM1 elevation tiles into Unity-ready 16-bit PNG heightmaps and a placement manifest. It relies on GDAL for mosaicking, resampling, and scaling to UInt16 ranges Unity expects.

View File

@@ -1,5 +1,5 @@
[project]
name = "geodata-heightmap-export"
name = "geodata-toolkit"
version = "0.1.0"
description = "Heightmap and orthophoto exporters using GDAL for Unity terrains."
readme = "README.md"
@@ -15,14 +15,12 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["geodata_pipeline"]
force-include = { "geodata_to_unity.py" = "geodata_to_unity.py", "export_heightmaps.py" = "export_heightmaps.py", "export_ortho_tiles.py" = "export_ortho_tiles.py" }
force-include = { "geodata_to_unity.py" = "geodata_to_unity.py" }
[tool.hatch.build.targets.sdist]
include = [
"geodata_to_unity.py",
"geodata_pipeline/",
"export_heightmaps.py",
"export_ortho_tiles.py",
"geodata_config.example.json",
"scripts/",
"README.md",

2
uv.lock generated
View File

@@ -70,7 +70,7 @@ source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/95/fc/9d187c4d280122b497c2d4c25a1c3b1ba50e5e1836924e49323685999c43/gdal-3.12.0.post1.tar.gz", hash = "sha256:d2b68361c7cf2ef7caa8cbb8549a315080301564e3f025d1842df71a4e406236", size = 902365, upload-time = "2025-11-07T23:40:07.734Z" }
[[package]]
name = "geodata-heightmap-export"
name = "geodata-toolkit"
version = "0.1.0"
source = { editable = "." }
dependencies = [