Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
Germany Open-Data CityGML
Commits
6656fe83
Commit
6656fe83
authored
Oct 28, 2025
by
Eric Duminil
Browse files
Download Bayern
parent
abd05efa
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
6656fe83
citygml/
tmp/
__pycache__/
02_bayern.py
View file @
6656fe83
from
pathlib
import
Path
import
download_metalink
SCRIPT_DIR
=
Path
(
__file__
).
resolve
().
parent
BAYERN_METALINK
=
"https://geodaten.bayern.de/odd/a/lod2/citygml/meta/metalink/09.meta4"
download_metalink
.
download_all_files
(
BAYERN_METALINK
,
SCRIPT_DIR
/
"citygml"
/
"bayern"
)
download_metalink.py
View file @
6656fe83
...
...
@@ -157,7 +157,7 @@ def download_and_verify(file_info: dict, tmp_dir: Path, download_dir: Path, max_
def
download_all_files
(
metalink
:
str
,
download_path
:
Path
,
tmp_path
:
Path
,
jobs
:
int
=
4
,
retries
:
int
=
3
metalink
:
str
,
download_path
:
Path
,
tmp_path
:
Path
=
SCRIPT_DIR
/
"tmp"
,
jobs
:
int
=
4
,
retries
:
int
=
3
):
# Create directories
tmp_path
.
mkdir
(
parents
=
True
,
exist_ok
=
True
)
...
...
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