CoordinateFeatureExtractor
From Fmepedia
| This page contains a Custom Transformer created by an fmepedia user. See the attached files list at the foot of this page for the zip file containing this custom transformer. |
Created by: Mark Ireland
CoordinateFeatureExtractor takes a user defined series of coordinates from an existing feature and creates a new feature from them. It would be a useful transformer to grab the start and end points of a line.
The two settings are Start Coordinate and Coordinates to Use.
Start Coordinate is the first coordinate in the new feature. It can be a negative number (eg -1) to signify from the end of the feature - in which case the points used will be counted backwards.
Coordinates to Use are the number of coordinates in a new feature. 1 will give a point feature. >1 will give a line feature (or polygon if start point = end point).
Transformer used in workspace:
Output from workspace:
