Commit c783bd61 authored by  Lukas Eller's avatar Lukas Eller

updated link for geodatenviewer

parent ad1c339d
......@@ -115,7 +115,6 @@ def geoseries_buildings(
return blockages
def pull_from_geodatenviewer_list(squares: List[str]) -> gpd.GeoDataFrame:
"""
Downloads .zip files for specified squares from https://www.wien.gv.at/ma41datenviewer/public/,
......@@ -133,7 +132,7 @@ def pull_from_geodatenviewer_list(squares: List[str]) -> gpd.GeoDataFrame:
# example of single square with data: https://www.wien.gv.at/ma41datenviewer/downloads/ma41/geodaten/fmzk_bkm/103081_bkm.zip
for square_number in squares:
urllib.request.urlretrieve(
"https://www.wien.gv.at/ma41datenviewer/downloads/ma41/geodaten/fmzk_bkm/{}_bkm.zip".format(
"https://www.wien.gv.at/ma41datenviewer/downloads/geodaten/fmzk_bkm/{}_bkm.zip".format(
square_number
),
os.path.join(dir_path, "{}.zip".format(square_number)),
......
Markdown is supported
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