fmeobjects.FMECoordSysManager.defineCoordSys
- FMECoordSysManager.defineCoordSys()
defineCoordSys(coordSysParms),
Provides a name for a coordinate system defined by the parameters passed in. A new coordinate system is defined only if the coordinate system did not already exist under a previous name.
- Parameters:
coordSysParms (list[str] or dict[str, str]) – A pairwise array of FME Coordinate system parameters, and their values. (i.e. entry 0 is a FME coordinate system parameter keyword, as defined in the coordinate systems section of the FME Reference Manual, and entry 1 is its value. Entry 2 is the parameter name, entry 3 is its value, and so on.) There MUST be an even number of parameters in the ‘coordSysParms’ array.
- Return type:
- Returns:
A name that is unique to the coordinate system.
- Raises:
FMEException – An FMEException is raised if there was an error.