From 4523b28306d323a87ff2cfe07f6c3d3e1b21a5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gw=C3=A9na=C3=ABl=20Rault?= Date: Fri, 25 Oct 2024 15:55:52 +0200 Subject: [PATCH] polygones_to_coordinates always return a feature --- lib/simplify_geometry.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simplify_geometry.rb b/lib/simplify_geometry.rb index 50d5e2d4c..e87006ce8 100644 --- a/lib/simplify_geometry.rb +++ b/lib/simplify_geometry.rb @@ -8,8 +8,8 @@ def self.polygones_to_coordinates(feature, **options) feature['coordinates'].map!{ |coords| process(coords.map{ |a, b| {x: a, y: b} }, **options) } - feature end + feature end def self.polylines(feature, **options)