Which coordinate system is used to calculate area of polygons? #612
Unanswered
sairahul1526
asked this question in
Q&A
Replies: 1 comment
-
Simplefeatures doesn't know about coordinate systems, everything is just a plain number. So, for an area calculation, the input units will flow through to become output units. For example, take this polygon of a park:
This will print:
This will give you the area of the polygon in square degrees, which isn't very useful. What you need to do is reproject the coordinates to a coordinate system that is equal area and has more appropriate units. Any equal area will do, so I normally use a simple one such as Lambert cylindrical equal area. This will give you the area that you're looking for:
This should give you the true area in square meters:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
as the title says
And can we change the default coordinate system?
Beta Was this translation helpful? Give feedback.
All reactions