From 7ea8389d7bd50c3c5683e3e8d847a9b072aa7472 Mon Sep 17 00:00:00 2001 From: Romain Hugonnet Date: Wed, 20 Nov 2024 13:48:53 -0900 Subject: [PATCH] CRS retransformation --- geoutils/vector/geometric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoutils/vector/geometric.py b/geoutils/vector/geometric.py index d907f79f..a6172a28 100644 --- a/geoutils/vector/geometric.py +++ b/geoutils/vector/geometric.py @@ -111,7 +111,7 @@ def _buffer_without_overlap( # Reverse-project to the original CRS if metric is True if metric: - merged_voronoi = merged_voronoi.to_crs(crs=gdf.crs) + merged_voronoi = merged_voronoi.to_crs(crs=ds.crs) return gu.Vector(merged_voronoi)