From c783bd61014b179fcd53dbf7f2260516af319dca Mon Sep 17 00:00:00 2001 From: Lukas Eller Date: Tue, 22 Mar 2022 10:33:27 +0100 Subject: [PATCH] updated link for geodatenviewer --- measprocess/geospatial/fetch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/measprocess/geospatial/fetch.py b/measprocess/geospatial/fetch.py index 2533027..2e64aff 100644 --- a/measprocess/geospatial/fetch.py +++ b/measprocess/geospatial/fetch.py @@ -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)), -- 2.22.0