SpatialCovers

globalmapper.SpatialCovers(GM_LayerHandle_t32 aLayer1, GM_LayerHandle_t32 aLayer2, GM_SpatialOps_Params_t aParams) GM_Error_t32[source]

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. This is a more general case of SpatialContains which must have at least on point inside of the outer feature. This is the reverse case of SpatialCoveredBy

Parameters:
  • aLayer1 (GM_LayerHandle_t32) – Input layer

  • aLayer2 (GM_LayerHandle_t32) – Input layer

  • aParams (GM_SpatialOps_Params_t) – Parameters

Returns:

Error Code

Return type:

GM_Error_t32