From 40d120e9cd3926489c2786e8d60fee3ba52f0acd Mon Sep 17 00:00:00 2001 From: Santonia27 Date: Thu, 31 Oct 2024 10:09:33 +0100 Subject: [PATCH] add again method nearest just so it can run. need fixing --- hydromt_fiat/workflows/gis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hydromt_fiat/workflows/gis.py b/hydromt_fiat/workflows/gis.py index e43f5f56..40b0b17c 100644 --- a/hydromt_fiat/workflows/gis.py +++ b/hydromt_fiat/workflows/gis.py @@ -223,6 +223,7 @@ def join_spatial_data( right_gdf.at[index, 'geometry'] = largest_polygon assert len(right_gdf.geom_type.unique()) == 1 + method = 'nearest' left_gdf_type = check_geometry_type(left_gdf) right_gdf_type = check_geometry_type(right_gdf)