SpatialCrosses

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

The Crosses operation creates a new layer with all area features in aLayer1 that overlap with line features in aLayer2. Note that as opposed to SpatialOverlaps this is an operation between lines and area features. Passing in two layers of area features will retrun nothing.

Parameters:
  • aLayer1 (GM_LayerHandle_t32) – Input layer with area features

  • aLayer2 (GM_LayerHandle_t32) – Input layer with line features

  • aParams (GM_SpatialOps_Params_t) – Parameters

Returns:

Error Code

Return type:

GM_Error_t32