LoadProjectionFile

globalmapper.LoadProjectionFile(string aFilename) GM_Error_t32, GM_Projection_t[source]

Initializes a GM_Projection_t structure from a projection (PRJ, Ozi .map, etc.) file.

Parameters:

aFilename (str) – filename of projection file to load

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

The decoded projection

Return type:

GM_Projection_t

Example

The following is an example of LoadProjectionFile.:

err, utm_proj = gm.LoadProjectionFile("UTM 19N.prj")

For more context refer to the tutorial page on setting projections.