globalmapper.GetFeatureElevation

globalmapper.GetFeatureElevation(GM_LayerHandle_t32 aLayer, GM_FeatureClassType_t8 aFeatureClassType, uint32 aFeatureIndex) GM_Error_t32, float[source]

Retrieves the elevation of this feature in meters. Returns an error code if there is not just a single elevation value that applies to this feature.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer the point is in

  • aFeatureClassType (GM_FeatureClassType_t8) – Type of feature class (area, point, line)

  • aFeatureIndex (uint32) – Index of feature in layer

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Elevation of feature (in meters)

Return type:

float