Global Mapper SDK
GM_SpatialCovers
The Covers operation creates a new layer with all area features in aLayer1 that have a feature in aLayer2 inside or on the border of it.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SpatialCovers
(
GM_LayerHandle_t32 aLayer1, // First layer in predicate
GM_LayerHandle_t32 aLayer2, // Second layer in predicate
GM_SpatialOps_Params_t* aParams
)