diff --git a/download_files_from_LGL_BW.py b/download_files_from_LGL_BW.py index 588d8864e7f3fdeba4fc21444fd1ce35d42de427..58b9321baf3c31716608a55db5c8981d16b894cc 100644 --- a/download_files_from_LGL_BW.py +++ b/download_files_from_LGL_BW.py @@ -103,6 +103,7 @@ def wkt_polygon_to_grid_coords(location_name: str, wkt: str) -> tuple[int, int, def download_rectangle(output_dir: Path, x1: int, x2: int, y1: int, y2: int) -> None: """Downloads every zip of a given region, to output_dir, and extracts CityGML files.""" + # FIXME: Too many uninteresting tiles for complex shapes. Check if the tile is interesecting with the polygon! for x in range(x1, x2 + 1, RASTER): for y in range(y1, y2 + 1, RASTER): citygml_zip = f"LoD2_{UTM}_{x}_{y}_{RASTER}_{BUNDESLAND}.zip"