globalmapper.SpatialDissolve ============================ .. currentmodule:: globalmapper .. py:function:: SpatialDissolve (GM_LayerHandle_t32 aLayer, GM_SpatialOps_Params_t aParams, float aSmoothing, GM_FeatureGrouping_t8 aGrouping, str aStr) -> GM_Error_t32 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. :param GM_LayerHandle_t32 aLayer: Input layer :param GM_SpatialOps_Params_t aParams: Parameters :param GM_FeatureGrouping_t8 aGrouping: Grouping type :param str aStr: The attribute list string; may be an empty string :returns: Error Code :rtype: GM_Error_t32