From d3ffa1c7ca555384f604bd9edcdb1c623716718a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20M=C3=A4yr=C3=A4?= Date: Tue, 23 Jan 2024 10:50:02 +0200 Subject: [PATCH] export --- geo2ml/data/tiling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geo2ml/data/tiling.py b/geo2ml/data/tiling.py index 4cc925e..a819a7e 100644 --- a/geo2ml/data/tiling.py +++ b/geo2ml/data/tiling.py @@ -288,7 +288,7 @@ def untile_vector( gdf = temp_gdf else: gdf = pd.concat((gdf, temp_gdf)) - elif Path(path_to_targets).suffix == "gpkg": # geopackage + elif Path(path_to_targets).suffix == ".gpkg": # geopackage layers = fiona.listlayers(path_to_targets) gdf = None for l in tqdm(layers):