SpatialCircle

globalmapper.SpatialCircle(GM_LayerHandle_t32 aLayer, GM_SpatialOps_Params_t aParams, GM_Distance_t aDistance, GM_FeatureGrouping_t8 aGrouping, str aStr) GM_Error_t32[source]

Creates a Circle around the center point of each feature or collection of features. The aDistance parameter is the radius in the given units. If aDistance is 0, then the it create a minimum enclosing circle for the entire feature.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Input layer

  • aParams (GM_SpatialOps_Params_t) – Parameters

  • aDistance (GM_Distance_t) – Circle radius

  • 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