SetLayerElevationAttribute

globalmapper.SetLayerElevationAttribute(GM_LayerHandle_t32 aLayer, str aAttrName, uint32 aReserved=0) GM_Error_t32[source]

Sets the name of the feature attribute to use for when determining the elevation of a feature. Provide an empty string to reset this to the default behavior which searches for any number of known elevation attributes and also checks the display name for elevation-based types, like contour lines and spot elevations.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to modify

  • aAttrName (str) – Name of attribute to use for elevations

  • aReserved (uint32) – Reserved value for future expansion (defaults to zero)

Returns:

Error Code

Return type:

GM_Error_t32