I need to create a csv-file with a special structure. I 've two problems which I haven't an idea how to solve:
1. How can I add a file-header before the actual content (The yellow part on the picture)?
2. If an element has more than one coordinate pairs (in case of a line) how can I add the vertexes and the end-point on the same row (The part witch is in blue on the picture)?
Yellow: File-header
Orange: Column-Header
Shades of Blue: Element coordinate(s)