This port contains the attribute _num_removed, which will contain the number of coordinates actually removed. (This could be less than the number specified if the feature did not have that many coordinates between the specified index and the end of the feature.)
This parameter specifies how coordinates are chosen for removal.
- If you choose Remove, then, starting at the index specified, the transformer will remove the number of coordinates given in Number to Keep/Remove.
- If you choose Keep, then all coordinates except those specified will be removed.
A negative index can be used to indicate the position of the coordinate(s) to be removed relative to the end of the feature (-1 is the last coordinate, -2 the second last, and so on). The index can be entered as an integer, or may be taken from the value of another attribute by selecting its name from the pull-down list of attributes.
If you choose Remove in the Keep or Remove Coordinates parameter above, then, starting at the index specified, the transformer will remove the number of coordinates that you specify in this parameter.
If you choose Keep in the Keep or Remove Coordinates parameter above, then all coordinates except those specified will be removed.
If you try to use this transformer on an aggregate, solid, or surface feature, the translation will terminate with an error.
If you try to use this transformer on an area feature that has holes, the results will not be useful.
Editing Transformer Parameters
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.