Solved

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

  • 14 September 2021
  • 5 replies
  • 0 views

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

Best answer by geomancer 15 September 2021, 09:30

View original

5 replies

Userlevel 4
Badge +36

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

Badge +3

Counter​

 

De aggregate it

 

Line joiner ​group based

Length calculator

Feature merger if you ​want

bring back original points

Use counter attribute​

Userlevel 4
Badge +36

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

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! :)

Userlevel 4
Badge +36

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!

Reply