Skip to main content
Solved

Get distance between multipoints within a feature in meters. Attached is file with testdata.

  • September 14, 2021
  • 5 replies
  • 13 views

mikamattila
Contributor
Forum|alt.badge.img
Get distance between multipoints within a feature in meters. Attached is file with testdata.

Best answer by geomancer

Like @f.kemminje​ says, use Deaggregator and LineBuilder (group by attribute externid). But as your data is in a geographic coordinate system, use GeographicLengthCalculator instead of LengthCalculator.

Some of the multipoints contain identical points, so look into the setting of the LineBuilder to Remove Duplicate Points.

mikamatilla_Data

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.

5 replies

geomancer
Evangelist
Forum|alt.badge.img+58
  • Evangelist
  • 932 replies
  • September 14, 2021

Convert your multipoints into lines, then use the GeographicLengthCalculator (from FME Hub) to calculate the distance in meters.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 189 replies
  • September 14, 2021

Counter​

 

De aggregate it

 

Line joiner ​group based

Length calculator

Feature merger if you ​want

bring back original points

Use counter attribute​


geomancer
Evangelist
Forum|alt.badge.img+58
  • Evangelist
  • 932 replies
  • Best Answer
  • September 15, 2021

Like @f.kemminje​ says, use Deaggregator and LineBuilder (group by attribute externid). But as your data is in a geographic coordinate system, use GeographicLengthCalculator instead of LengthCalculator.

Some of the multipoints contain identical points, so look into the setting of the LineBuilder to Remove Duplicate Points.

mikamatilla_Data


mikamattila
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • 11 replies
  • September 15, 2021

Like @f.kemminje​ says, use Deaggregator and LineBuilder (group by attribute externid). But as your data is in a geographic coordinate system, use GeographicLengthCalculator instead of LengthCalculator.

Some of the multipoints contain identical points, so look into the setting of the LineBuilder to Remove Duplicate Points.

mikamatilla_Data

Hello,

 

Thank you it worked perfectly! :)


geomancer
Evangelist
Forum|alt.badge.img+58
  • Evangelist
  • 932 replies
  • September 15, 2021

Like @f.kemminje​ says, use Deaggregator and LineBuilder (group by attribute externid). But as your data is in a geographic coordinate system, use GeographicLengthCalculator instead of LengthCalculator.

Some of the multipoints contain identical points, so look into the setting of the LineBuilder to Remove Duplicate Points.

mikamatilla_Data

Good to hear, glad to be of help!