geometry_area_perimeter returning 0 for global polygon #1399
Unanswered
jonathan-geoseer
asked this question in
Q&A
Replies: 1 comment 3 replies
-
See: #1074 (comment) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to work out the surface area of polygons on earth. It works fine for Colorado (conveniently square), but if I enter a global bounding box, I get a value of 0.
If I enter a sub-global one, I get a random-seeming negative number.
Results:
What's going on? There's nothing about these caveats in the docs as far as I can see: https://pyproj4.github.io/pyproj/stable/api/geod.html#pyproj.Geod.geometry_area_perimeter
Pyproj 3.5.0, Shapely 2.0.4
I can't decide if I'm missing something blindingly obvious, or this is a bug.
Beta Was this translation helpful? Give feedback.
All reactions