Skip to main content
Question

Line Builder

  • April 11, 2019
  • 3 replies
  • 36 views

Forum|alt.badge.img+1

Hi,

I have two point feature classes and I need to create line or line feature class using first record in the first feature class with first record in the second feature class and so on.

 

First Feature class Point -- First Feature class point

First Feature Class Point - Second Feature class point

First Feature class Point- third feature class point

..

..

Second Feature Point - first feature class point

 

 

Cheers,

Srikanth Dasari

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

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • April 11, 2019

If I understand correctly, you want to create lines connecting every point in one feature class to every point in the other feature class.

One way to proceed would be to use the NeighbourFinder, one feature class as base, the other as candidates, keep number of neighbours and distance both empty, generate a list.

 

 

Explode the list and then use a vertexCreator, in add vertex mode, with the coordinates being closest_candidate_x, closest_candidate_y.

 

 

Another way to proceed would be cloning you features and using the LineBuilder.

takashi
Celebrity
  • 7843 replies
  • April 12, 2019

This could also be an alternative.


Forum|alt.badge.img+1
  • Author
  • 6 replies
  • April 16, 2019

@jdh Thanks alot.