Question

Vincenty's formula inverse

  • 26 March 2014
  • 2 replies
  • 0 views

Badge
Hi

 

I seeking a way on how to use the Vincenty's inverse formula (or any other solution) within FME. I got several hundreds of ascii files of sub bottom seismic data that i need to process. Each file can contain many millions of rows, i.e. points. The vast amount of data requires the solution to be non-geographical, only to be solved with mathematics.

 

What I need to do is to calculate and check the distances between point locations (the rows) as well as compare height differences (z) between the pairs;

 

Row2 to Row1

 

Row3 to Row2

 

...

 

Row(n) to Row(n-1)

 

 

I cannot find a way on how to first store one row in memory and then compare it with a previous row. If the difference in height or length is too far off I need to mathematically give Row(n) a new position based on the first and shot point index

 

 

Any suggestions on how to get around this problem is most appreciated

2 replies

Userlevel 4
Hi,

 

 

look into the AttributeCreator, in FME 2014 it will allow you to reference attribute values from both prior and subsequent features:

 

 

 

 

There is more info in the Help.

 

 

David
Badge
Great, thanks.. i didn't know that this functionality existed..

 

 

André

Reply