Click or drag to resize

GM_Layer_tGetFeatureElevation Method

Gives the elevation of a feature. Set the name of the elevation attribute using SetLayerElevationAttribute.

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public GM_Error_t32 GetFeatureElevation(
	GM_FeatureClassType_t8 aFeatureClassType,
	uint aFeatureIndex,
	out float aElev
)

Parameters

aFeatureClassType
Type: GlobalMapperGM_FeatureClassType_t8
IN: Type of feature class (area, point, line)
aFeatureIndex
Type: SystemUInt32
IN: Index of feature in layer
aElev
Type: SystemSingle
OUT: Elevation of feature (in meters)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also