Skip to main content
Question

Calculate geodesic area of polygons

  • July 7, 2020
  • 1 reply
  • 171 views

Hi,

 

I hope you can help on this! I would like to calculate the area of a set of polygons in FME, however, when using the AreaCalculator, as we know, we can calculate an area using Geodesic. I found this KB question:

 

https://knowledge.safe.com/questions/35906/how-to-calculate-spherical-area-in-km2-using-pytho-1.html

 

However I am struggling to implement this, would anyone have advice on how to calculate polygon areas, in km2, using geodesic (WGS84 or ED50 for example?)

 

Any advice is super appreciated.

1 reply

palhermans
Contributor
Forum|alt.badge.img+10
  • Contributor
  • July 8, 2020

Hi I have not tried, but from other Python experience I often find PyProj simpler to use compared to GeographicLib's Python api. See http://pyproj4.github.io/pyproj/stable/examples.html#geodesic-area

At least when it comes to projection and transformations the excellent algorithms from GeographicLib is implemented in PyProj/Proj.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings