Skip to main content
Question

XY point to point distance

  • November 23, 2020
  • 3 replies
  • 51 views

I think I read entire forum... but can't find any answer.

I have number of single control point, ascii with XY column and corresponding another file containing also XY.

 

I would like to 1st

  • for each control points from set 1 find a closest point from set 2 and calculate average xy and rms
  • combine the rms and average magnited and output as a one number

 

Maaaasive thanks for all your time

j

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.

3 replies

davtorgh
Contributor
Forum|alt.badge.img+12
  • Contributor
  • November 23, 2020

Hi @joolek.o​ ,

 

I think the following method should do the work you need to find closest points and medium points beetween them:

  1. create points from coordinate attributes (VertexCreator);
  2. reproject to a coordinate system that uses meters as unit measure (Reprojector, better work in meters than degrees);
  3. find the closest points (NeighborFinder);
  4. build lines beetween points (VertexCreator);
  5. cut these lines in the middle (Snipper).

Coordinate 1 of features that come out from the Snipper is the middle point of the line.

screenshot.1screenshot.2 

Hope that helps!


fdw
Contributor
Forum|alt.badge.img+7
  • Contributor
  • November 24, 2020

Hi @joolek.o​ ,

 

I think the following method should do the work you need to find closest points and medium points beetween them:

  1. create points from coordinate attributes (VertexCreator);
  2. reproject to a coordinate system that uses meters as unit measure (Reprojector, better work in meters than degrees);
  3. find the closest points (NeighborFinder);
  4. build lines beetween points (VertexCreator);
  5. cut these lines in the middle (Snipper).

Coordinate 1 of features that come out from the Snipper is the middle point of the line.

screenshot.1screenshot.2 

Hope that helps!

If you also set the snipper 'Starting Location' to 50 then it wil output a single point in the middle straightaway


davtorgh
Contributor
Forum|alt.badge.img+12
  • Contributor
  • November 24, 2020

If you also set the snipper 'Starting Location' to 50 then it wil output a single point in the middle straightaway

Thank you for the suggestion, fdw.