ProjectionGetBase

globalmapper.ProjectionGetBase(GM_Projection_t aProjIn) GM_Error_t32, GM_Projection_t[source]

Retrieves the underlying base projection that forms the basis for a given projection. For example, the underlying Transverse Mercator projection will be returned for a UTM projection. For core projections, like Transverse Mercator, the output will just match the input.

Parameters:

aProjIn (GM_Projection_t) – projection to convert from (None for current)

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Projection on which the input projection is based

Return type:

GM_Projection_t

Example

The following is an example of ProjectionGetBase.

err_ProjectionGetBase, proj = gm.ProjectionGetBase(gm.GM_Projection_t())

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