diff --git a/fatamorgana/records.py b/fatamorgana/records.py index c7bacc1..e298ca9 100644 --- a/fatamorgana/records.py +++ b/fatamorgana/records.py @@ -1744,7 +1744,7 @@ class Polygon(Record, GeometryMixin): self.point_list = point_list self.properties = [] if properties is None else properties - if point_list is not None and len(point_list) < 3: + if point_list is not None and len(point_list) < 2: warn('Polygon with < 3 points', stacklevel=2) def get_point_list(self) -> point_list_t: