Generate OD matrix data from all points to all points

3394
1
08-30-2014 01:59 PM
ShimNapa
New Contributor

‌Good Morning,

I have Line shape file that has information about highway links. I want to generate attribute/layer that has information of distance between nodes to nodes that are directly connected. It is kind of O-D matrix from all point to all points, but if direct link does not exist then some default high value is assigned. Can someone please help me.

Sample Input Data:

Link_ID     From_Node     To_Node     Distance     Speed     Name etc

F10          1005              1006          3.5             45           I-20

F11          1006              1007          4.0             50           I-20

F12          1005              1007          6.0             60           Cooper St

Expected Result:

From/To     1005     1006     1007

1005          0           3.5        6.0

1006          9999     0           4.0

1007          9999     9999     0

Thanks

Shim

Message was edited by: Shim Nepa

0 Kudos
1 Reply
RamB
by
Occasional Contributor III

This is a question about adjacency matrix. It is not difficult. Please search for my responses to queries on adjacency matrix.

regards,

0 Kudos