SpatialBuffer¶
- globalmapper.SpatialBuffer(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 buffer area polygon around each feature or collection of features. The buffer space between the original feature and the resulting polygon will be based on the aDistance parameter, which defines both a unit and measurement.
- Parameters:
aLayer (GM_LayerHandle_t32) – Input layer
aParams (GM_SpatialOps_Params_t) – Parameters
aDistance (GM_Distance_t) – Buffer width
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