fmeobjects.FMEFeature.getCoordinate
- FMEFeature.getCoordinate(index)
Access the feature’s individual coordinates by index. The index must be in the range 0 .. (
numCoords()
- 1).The coordinates are returned as a tuple of floats.
- Parameters:
index (int) – The index which the coordinate is accessed.
- Return type:
- Returns:
The coordinate value at the given index.
- Raises:
FMEException – An exception is raised if the index is outside the valid range.