Is there a way to convert a linear shape file 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.