Skip to main content
Question

Line Builder


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

3 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • 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
Contributor
Forum|alt.badge.img+19
  • Contributor
  • April 12, 2019

This could also be an alternative.


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

@jdh Thanks alot.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings