Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1952

Creating a Line Feature from Point Features Using ID's

$
0
0
Hello,

I am trying to create a script which will allow me to develop a line feature from a set of x, y points. As of now my data are all contained in dbf files. I have one set of data in the following format:

Node X_COORD Y_COORD
J1 -135 63
J2 -83 63
J3 -34 63
J5 -35 22
J6 -82 22
J7 -83 -16
R1 -175 63
T1 5 63

and another in this format...

ID NODE1 NODE2
P1 J1 J2
P3 J2 J6
P5 J3 J5
P6 J3 T1
P7 J6 J7
P8 J5 J7

What would anyone suggest as a scripted means of matching the "Node" column with both the "NODE1" and "NODE2" columns, producing a set of start and end nodes for each P-ID (P1, P2, P3...Pn) which would allow me to create a line feature from the matched points?

Thanks in advance,
Joseph

Viewing all articles
Browse latest Browse all 1952

Trending Articles