I have a polyline dataset representing a road network. I need to convert the geometry into an ascii format file for use in a particular piece of software.
I have extracted the polyline geometry from my geodatabase to .xml and written some python code to write the required information for each polyline object into my new ascii file.
I also need to obtain some details about every node in the network at which the polylines cross. The particular piece of information I require is, for each node, the ObjectID of the segments intersecting at that node. This also requires that I split the polylines into segments, with the split occurring at intersections with any other polyline.
I would appreciate any advice on how to obtain this node data from the geodatabase polyline features.