[GIS] Exporting coordinates of shapefile into CSV using FME

csvfmeshapefile

I use FME to make a series of transformations from an autocad file to a shapefile (with line geometry).

What I am trying to do is to also export (together with the shapefile) a CSV file containing the coordinates. More specifically I need to get only the first and last coordinate of each linestring in the shapefile.

How can I do this in FME 2014?

Right now I have managed to export only a CSV containing the attribute values corresponding to each line.

Best Answer

One option its to make use of 2 coordinateExtractors , 1 for index 0 (1st coordinate) and another with index -1 (last coordinate) . enter image description hereenter image description here