Skip to main content

Dear FME community.

I try to calculate distance between a suit of points like that :

For that I make a sorter > counter and I try an AttributeCreator without success.

Have you got an idea ?

Thanks for your help

In your example, the distance between 2 & 3 isn't 10....

If you know the formula to calculate distances between coordinates then look at the adjacent attribute handling in the attributecreator. This will allow you to reference the the coordinates of the adjacent feature in the expression


In your example, the distance between 2 & 3 isn't 10....

If you know the formula to calculate distances between coordinates then look at the adjacent attribute handling in the attributecreator. This will allow you to reference the the coordinates of the adjacent feature in the expression

Dear @egomm, thanks for your response.

This is an example with fictive distances, but this is the global idea :-)


Did you look at Adjacent Feature Attributes?


Dear @egomm, thanks for your response.

This is an example with fictive distances, but this is the global idea :-)

Did you look at Adjacent Feature Attributes?


Did you look at Adjacent Feature Attributes?

Agree. Alternatively, the @hypot function can be used. cf. Math Functions


Reply