SpatialOperation

globalmapper.SpatialOperation(GM_SpatialOperations_t8 aOperation, GM_LayerHandle_t32 aLayer1, GM_LayerHandle_t32 aLayer2, GM_SpatialOps_Params_t aParams) GM_Error_t32[source]

General spatial operation. Any of the two-layer spatial operation functions available in Global Mapper can be performed through this function, by entering the desired operation in the aOperation parameter.

Currently, the available operations and their parameter values are:

Parameters:
  • aOperation (GM_SpatialOperations_t8) – Operation to use

  • aLayer1 (GM_LayerHandle_t32) – First layer in operation

  • aLayer2 (GM_LayerHandle_t32) – Second layer in operation; may be gm.NULL

  • aParams (GM_SpatialOps_Params_t) – Parameters

Returns:

Error Code

Return type:

GM_Error_t32