diff --git a/download_files_from_LGL_BW.py b/download_files_from_LGL_BW.py index 6b46b1d17d3e3e03771449fa28014864c37442f1..f2035a4ca40a49a7c81610d7362728f464532fe1 100644 --- a/download_files_from_LGL_BW.py +++ b/download_files_from_LGL_BW.py @@ -33,7 +33,9 @@ COORDINATES_REGEX = re.compile(r"(\-?\d+\.\d*) (\-?\d+\.\d*)") # Values can be either a WKT POLYGON or MULTIPOLYGON, a Zipcode, or Zipcodes separated by a comma. REGIONS = { "StuttgartCenter": "POLYGON((9.175287 48.780916, 9.185501 48.777522, 9.181467 48.773704, 9.174429 48.768472, 9.168807 48.773902, 9.175287 48.780916))", + # "Freiburg": "79098,79102", # "AnotherRegion": "Another WKT Polygon...", + # "YetAnotherRegion": "Another ZIP code", } # Should RegionChooser extract the regions from multiple CityGMLs? EXTRACT_REGIONS = True @@ -182,7 +184,6 @@ def get_wkt(wkt_or_zipcode: str) -> str: return wkt_or_zipcode else: return get_coordinates_by_zipcode(wkt_or_zipcode.split(',')) - # raise ValueError(f"Unknown region format: {wkt_or_zipcode}") def main(regions: dict[str, str]) -> None: """Downloads ZIP files, extracts CityGML files, and selects desired region."""