Question

Line Builder

  • 11 April 2019
  • 3 replies
  • 10 views

Badge +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


3 replies

Badge +22

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.
Userlevel 2
Badge +17

This could also be an alternative.

Badge +1

@jdh Thanks alot.

Reply