GM_SpatialUnion

Performs the Union spatial operation. The aLayer1 and aLayer2 layer parameters must not be NULL. The mResultLayerName parameter specifies the result layer name, may not be NULL.

The result layer handle is returned in the aParams' mResultLayer member; it will be NULL if the operation fails.

Syntax

C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SpatialUnion
(
GM_LayerHandle_t32           aLayer1,     // IN: Layer in operation
GM_LayerHandle_t32           aLayer2,     // IN: Second layer in operation
GM_SpatialOps_Params_t*      aParams      // IN: Parameters
)