From 15daf458fa4c42d0efa08c2687e8b8555fac7bcb Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Wed, 17 Dec 2025 00:22:30 +0100 Subject: [PATCH] Rename package to geodata-toolkit --- AGENTS.md | 3 +-- README.md | 2 +- pyproject.toml | 6 ++---- uv.lock | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 4deb51c..1cbd7c5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. diff --git a/README.md b/README.md index 47da493..fb78f0d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/pyproject.toml b/pyproject.toml index 2329dd8..6ef2b7f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/uv.lock b/uv.lock index 5fa5aed..98d3f3d 100644 --- a/uv.lock +++ b/uv.lock @@ -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 = [