Skip to content

Commit 54320b0

Browse files
Fixed broken link to polygon algorithm article
1 parent 69ed815 commit 54320b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shapefile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def __repr__(self):
9696

9797
def signed_area(coords):
9898
"""Return the signed area enclosed by a ring using the linear time
99-
algorithm at http://www.cgafaq.info/wiki/Polygon_Area. A value >= 0
99+
algorithm at:
100+
https://web.archive.org/web/20080209143651/http://cgafaq.info/wiki/Polygon_Area
100101
indicates a counter-clockwise oriented ring.
101102
"""
102103
xs, ys = map(list, zip(*coords))

0 commit comments

Comments
 (0)