Skip to content

Commit

Permalink
polygones_to_coordinates always return a feature
Browse files Browse the repository at this point in the history
  • Loading branch information
braktar authored and frodrigo committed Oct 25, 2024
1 parent ed5ecdc commit 4523b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplify_geometry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4523b28

Please sign in to comment.