Is there a way to convert a linear shapefile into a CSV file of the following format:
Node_1, Node_2, attribute_1, ...., attribute_x
1 2 "hello" 567845.334
I have looked at GDAL/OGR2OGR and PostGIS and I don't think either converts the data to the format I want.
I don't mind writing a script to do it, if I'm guided in the right direction.