Skip to content

Commit

Permalink
Remove redundant coordinate reversal in box function
Browse files Browse the repository at this point in the history
  • Loading branch information
cleder committed Dec 5, 2024
1 parent 1fbadeb commit 4d10747
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pygeoif/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ def box(
if not ccw:
coords.reverse()
return Polygon(coords)
if not ccw:
coords.reverse()


def shape(
context: Union[
Expand Down

0 comments on commit 4d10747

Please sign in to comment.