Data structure of network file

2054
2
08-05-2012 01:51 PM
XuebinWei
New Contributor
I want to write some python program to read the attribute of a established network. I found the ArcGIS can build a network very quickly and generate a folder of ??????Newtork_ND.nd with some files of ???.nds.

How does those files store the topological relation of network, like the connected edges and junctions?

Thanks.
Tags (2)
0 Kudos
2 Replies
JaySandhu
Esri Regular Contributor
The contents of the network dataset folder are in a binary proprietary format. However you can access the attribute information of a network dataset from python using the describe function. More here:
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000055000000

With 10.1 there are additional python functions for network analyst. You can read more about that here:
http://resources.arcgis.com/en/help/main/10.1/index.html#//01mr00000012000000

Jay Sandhu
0 Kudos
XuebinWei
New Contributor
Hi Jay,

Thank you for your reply.

Is there a way that arcpy can read those attributes of a single edge of a network, just like the  [Network Identify Tool] can easily find the connected edges and junctions of any selected edge?

[ATTACH=CONFIG]16707[/ATTACH]

Thanks,
Xuebin
0 Kudos