Skip to main content
Solved

How to get 3D Area using Simpson's rule?

  • February 28, 2019
  • 1 reply
  • 69 views

oscard
Influencer
Forum|alt.badge.img+21

Good morning!

 

My input data is a series of 3D polygons that represent Administrative Units stored in an ESRI Geodatabase.

I've been tasked with calculating the area of those polygons. For that i wanted to use the AreaCalculator transformer with Type parameter as "Sloped Area".

No problems there. Except the final user of that data wants the area to be calculated using the Simpson's Rule. I had no idea what that was, so I've been looking for info a little bit:

https://www.emathzone.com/tutorials/geometry/simpsons-rule.html

I still don't know how to translate that to FME. Could anyone give me any pointers, please?

Best answer by markatsafe

FME doesn't have a Simpson's rule function. However, 'R' does have a sintegral function that looks like it might be what you're looking for. You could then implement this in the RCaller transformer

View original
Did this help you find an answer to your question?

1 reply

Forum|alt.badge.img+2
  • Best Answer
  • March 1, 2019

FME doesn't have a Simpson's rule function. However, 'R' does have a sintegral function that looks like it might be what you're looking for. You could then implement this in the RCaller transformer


Reply


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