Skip to main content
Solved

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

  • February 28, 2019
  • 1 reply
  • 80 views

oscard
Influencer
Forum|alt.badge.img+22

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+2
  • 1891 replies
  • 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