fmeobjects.FMEReprojector.reprojectArray

FMEReprojector.reprojectArray(xyzCoords)

This reprojects the given list of coordinates, and returns the results. This will throw an exception if the coordinate systems are not set or invalid, or if the reprojection cannot be completed.

Parameters:

xyzCoords (list[tuple[float]]) – The list of coordinates. xyzCoords is a list of tuples in the form of [(x[0], y[0], z[0]), (x[1], … , (x[n-1], y[n-1], z[n-1])] with n being the number of xyz coordinate tuples.

Return type:

list[tuple[float]]

Returns:

The given result of the reprojection.

Raises:

FMEException – An exception is raised if an error occurred.