Select to view content in your preferred language

Network Analyst - OD Cost Matrix Help

2318
11
05-13-2011 10:12 AM
JoshuaGelman
Emerging Contributor
Hi there,

I'm somewhat new using the Network Analyst extension and running into a problem I can't figure out how to solve.

I built a network dataset from a street centerlines layer.  What I want to do is, using the junctions layer (nodes at the intersections of the streets), create a table that gives the distance between the origin node and the closest other nodes in each direction.

The O-D Cost Matrix tool seemed like the way to go, but the problem is it gives me distances between the origin node and all subsequent nodes along the path within the specified search tolerance.

What I want is only the first node along each path from the origin node.  I attached a picture to try and explain this better. 

Any suggestions or help would be EXTREMELY appreciated.

--Josh
Tags (2)
0 Kudos
11 Replies
JaySandhu
Esri Regular Contributor
That VBA uses "Debug.Print" and the output will show in the "Immediate" window. You may have to make that visible.
You can do that in the View drop down menu or click on Ctrl-G to make it visible. The best way is to change the debug.print to a Print statement that will write to a file on disk.

Jay Sandhu
0 Kudos
AlejandroMata
Deactivated User
That VBA uses "Debug.Print" and the output will show in the "Immediate" window. You may have to make that visible.


Hi Jay !

You're all right, i didn´t have open "immediate" window, thanks.

I wrote all the junctions to a file, but is there a way to relation txt file to Network Dataset Layer ?
I mean, i would like to have in a shp file, all the junctions with their adjacent junctios and times.

Best Regards.
0 Kudos