Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
e1305862
Commit
e1305862
authored
Jun 30, 2026
by
Eric Duminil
Browse files
Add get_hull convenience wrapper around run_regionchooser
parent
974d78e9
Changes
1
Show whitespace changes
Inline
Side-by-side
src/simstadt/runner.py
View file @
e1305862
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment