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
f38cc186
Commit
f38cc186
authored
Oct 30, 2025
by
Eric Duminil
Browse files
rename
parent
6cda0427
Changes
1
Hide whitespace changes
Inline
Side-by-side
10_nordrhein_westfalen.py
View file @
f38cc186
...
...
@@ -2,7 +2,6 @@ import json
from
citygml_download
import
TMP_DIR
,
Bundesland
,
CityGMLWithSize
,
download_all_files
,
download_file
NRW_JSON
=
TMP_DIR
/
"nrw_lod2.json"
NORDRHEIN_WESTFALEN
=
Bundesland
(
"Nordrhein-Westfalen"
,
source
=
"https://www.opengeodata.nrw.de/produkte/geobasis/3dg/lod2_gml/lod2_gml/"
,
...
...
@@ -11,12 +10,13 @@ NORDRHEIN_WESTFALEN = Bundesland(
if
__name__
==
"__main__"
:
nrw_json
=
TMP_DIR
/
"nrw_lod2.json"
download_file
(
NORDRHEIN_WESTFALEN
.
source
+
"index.json"
,
NRW_JSON
,
nrw_json
,
)
with
open
(
NRW_JSON
)
as
json_file
:
with
open
(
nrw_json
)
as
json_file
:
data
=
json
.
load
(
json_file
)
citygmls
=
[]
...
...
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