From 1fbadeb385938d4540e39470f06439e65c114786 Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Thu, 5 Dec 2024 20:20:20 +0000 Subject: [PATCH] Update pygeoif/factories.py Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- pygeoif/factories.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pygeoif/factories.py b/pygeoif/factories.py index 09155c2..61452dc 100644 --- a/pygeoif/factories.py +++ b/pygeoif/factories.py @@ -92,7 +92,8 @@ def box( if not ccw: coords.reverse() return Polygon(coords) - + if not ccw: + coords.reverse() def shape( context: Union[