Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
Get Baden-Württemberg CityGML Opendata
Commits
302428e1
Commit
302428e1
authored
1 month ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Split main
parent
dde3b35b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
download_files_from_LGL_BW.py
+4
-8
download_files_from_LGL_BW.py
with
4 additions
and
8 deletions
+4
-8
download_files_from_LGL_BW.py
+
4
-
8
View file @
302428e1
...
@@ -241,14 +241,8 @@ Examples:
...
@@ -241,14 +241,8 @@ Examples:
return
parser
.
parse_args
()
return
parser
.
parse_args
()
def
main
():
def
main
(
location_name
:
str
,
wkt_or_zipcode
:
str
,
download_only
:
bool
=
False
,
simstadt_folder
:
Path
|
None
=
None
):
"""Main function to process arguments and run the download/extraction"""
"""Main function to process arguments and run the download/extraction"""
args
=
parse_arguments
()
location_name
=
args
.
name
wkt_or_zipcode
=
args
.
region
download_only
=
args
.
download_only
simstadt_folder
=
args
.
simstadt_folder
# Validate location name
# Validate location name
if
' '
in
location_name
:
if
' '
in
location_name
:
...
@@ -283,4 +277,6 @@ def main():
...
@@ -283,4 +277,6 @@ def main():
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
main
()
args
=
parse_arguments
()
main
(
args
.
name
,
args
.
region
,
args
.
download_only
,
args
.
simstadt_folder
)
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets