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

rename

parent 6cda0427
...@@ -2,7 +2,6 @@ import json ...@@ -2,7 +2,6 @@ import json
from citygml_download import TMP_DIR, Bundesland, CityGMLWithSize, download_all_files, download_file 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 = Bundesland(
"Nordrhein-Westfalen", "Nordrhein-Westfalen",
source="https://www.opengeodata.nrw.de/produkte/geobasis/3dg/lod2_gml/lod2_gml/", source="https://www.opengeodata.nrw.de/produkte/geobasis/3dg/lod2_gml/lod2_gml/",
...@@ -11,12 +10,13 @@ NORDRHEIN_WESTFALEN = Bundesland( ...@@ -11,12 +10,13 @@ NORDRHEIN_WESTFALEN = Bundesland(
if __name__ == "__main__": if __name__ == "__main__":
nrw_json = TMP_DIR / "nrw_lod2.json"
download_file( download_file(
NORDRHEIN_WESTFALEN.source + "index.json", 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) data = json.load(json_file)
citygmls = [] citygmls = []
......
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