I am pretty new to ArcGIS and would like to extract GPS coordinates of nodes as well as the length of all edges connecting those nodes from some ESRI layer files (http://www.nyc.gov/html/dcp/html/bytes/dwnlion.shtml).
Ideally, I would like to store all this in a csv file where each line would be:
GPS coordinates node A, GPS coordinates node B, length of edge connecting A and B.
provided the direction of traffic on the edge connecting A to B allows one to drive from A to B. If the edge is a two-way street, we would also have a line in the csv file that would read:
GPS coordinates node B, GPS coordinates node A, length of edge connecting A and B.
In the layer files, there is information on street direction, nodes and segments but I have no idea how I could produce the csv file described above.