SpatialSymmetricDifference

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

The Symmetrical Difference operation creates a new layer consisting of areas of the non-overlapping regions in the first and second input layers; overlapping regions are removed. In other words, it finds all regions exclusively in one layer OR the other, but not in both. Attributes for features in the new layer are copied from their original feature, from either the first or second input layer.

Parameters:
  • aLayer1 (GM_LayerHandle_t32) – First layer in operation

  • aLayer2 (GM_LayerHandle_t32) – Second layer in operation

  • aParams (GM_SpatialOps_Params_t) – Parameters

Returns:

Error Code

Return type:

GM_Error_t32