Commit e1305862 authored by Eric Duminil's avatar Eric Duminil
Browse files

Add get_hull convenience wrapper around run_regionchooser

parent 974d78e9
...@@ -229,7 +229,9 @@ def run_simstadt(workflow_path: Path, name: str) -> str: ...@@ -229,7 +229,9 @@ def run_simstadt(workflow_path: Path, name: str) -> str:
return result.stdout return result.stdout
# TODO: Add get_hull def get_hull(citygml_path: str | Path) -> str:
"""Return the hull of a CityGML file as a WKT string."""
return run_regionchooser("--get-hull", f"--input={Path(citygml_path).as_posix()}")
def run_regionchooser(*params: str) -> str: def run_regionchooser(*params: str) -> str:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment