SpatialDissolve

globalmapper.SpatialDissolve(GM_LayerHandle_t32 aLayer, GM_SpatialOps_Params_t aParams, float aSmoothing, GM_FeatureGrouping_t8 aGrouping, str aStr) GM_Error_t32[source]

The Dissolve operation creates a new layer with a polygon that combines all overlapping or touching areas from aLayer into one new area. For example, if you dissolved a layer showing the US state borders, the resulting polygon would be the US national border.

The aGrouping parameter specifies whether all areas should be dissolved together, or just areas of equal attributes.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Input layer

  • aParams (GM_SpatialOps_Params_t) – Parameters

  • aGrouping (GM_FeatureGrouping_t8) – Grouping type

  • aStr (str) – The attribute list string; may be an empty string

Returns:

Error Code

Return type:

GM_Error_t32