Skip to content

Commit

Permalink
FIX: Fix regression in geometry.simplify_footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Feb 17, 2025
1 parent c6ba23f commit 83c3294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sertit/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def simplify_geom(value):
break

# WARNING if nof_vertices > max_nof_vertices
nof_vertices = len(value.union_all().exterior.coords)
nof_vertices = len(value.exterior.coords)
if nof_vertices > max_nof_vertices:
LOGGER.warning(
f"The number of vertices ({nof_vertices}) of your simplified footprint is higher than {max_nof_vertices}."
Expand Down

0 comments on commit 83c3294

Please sign in to comment.