fmeobjects.FMECoordSysManager.getCoordSysNameFromPrjFile

FMECoordSysManager.getCoordSysNameFromPrjFile()

getCoordSysNameFromPrjFile(prjFileName),

Returns a coord system name for the coordinate system represented by the contents of the .prj filename passed in The file is taken to hold an ESRI Well Known Text (WKT) representation of a coordinate system definition.

Parameters:

prjFileName (str) – The name of the .prj that contains the representation of the coordinate system or blank if any problems or errors occurred in retrieving the coordinate system from the file.

Return type:

str or None

Returns:

The unique name of the coordinate system that can be used within FME, or blank if any problems or errors occurred in retrieving the coordinate system from the file.