GM_LayerInfo_t Properties

The GM_LayerInfo_t type exposes the following members.

Properties
Name Description
Public property mArchiveFilename
Filename within archive file (e.g. .zip or .tar.gz) from which layer was loaded, if any (might be NULL)
Public property mBandBitDepth
RASTER/ELEV ONLY: number of bits per band value. Multiply by mNumBands to get total bit depth per sample.
Public property mBandValType
RASTER/ELEV ONLY: type of data for the bands
Public property mCodePage
Code page for text in layer. 0 is default and current active code page (CP_ACP). CP_UTF8 is for UTF-8 interpretation.
Public property mControlPoints
RASTER ONLY: Ground control points list. Point to GM_GroundControlPoint_t
Public property mDescription
Description string
Public property mDfltViewGlobal
Default view bounding rect of layer in global coordinates (usually same as mGlobalRect)
Public property mElevUnits
Elevation units for layer
Public property mEnabled
Is this layer enabled for display or it it hidden?
Public property mExtraLoadFlags
Additional load flags with options selected by user during load. Pass these to GM_LoadLayerListEx to remember options.
Public property mFilename
Filename from which layer was loaded (if this is an archive file, like .zip, then the name of the actual loaded file will be in mArchiveFilename
Public property mGlobalPixelHeight
RASTER/ELEV ONLY: Approximate number of pixels required in height for a 1:1 pixel mapping in the current projection
Public property mGlobalPixelWidth
RASTER/ELEV ONLY: Approximate number of pixels required in width for a 1:1 pixel mapping in the current projection
Public property mGlobalRect
Bounding rect of layer in global coordinates
Public property mGroupName
Group name that the layer is in. NULL for no group. Separated with <sep> if multiple levels.
Public property mHasRasterData
Does this layer have raster or elevation data?
Public property mHasVectorData
Does this layer have vector data (the features counts can all be 0 for things like map catalogs)
Public property mMaxElevation
ELEV ONLY: Maximum elevation in meters
Public property mMetadataList
List of metadata attributes and values for the layer
Public property mMinElevation
ELEV ONLY: Minimum elevation in meters
Public property mNativeProj
Native projection of layer
Public property mNativeRect
Bounding rect of layer in native coordinates
Public property mNumAreas
VECTOR ONLY: Number of area features
Public property mNumBands
Number of bands in a raster image (use GM_SetRasterDisplayOptions to change color band layout)
Public property mNumLidarPoints
VECTOR ONLY: Number of Lidar point cloud points (fetch with GM_GetLidarPoint)
Public property mNumLines
VECTOR ONLY: Number of line features
Public property mNumPoints
VECTOR ONLY: Number of point features
Public property mPalette
List of palette entries for palette-based raster layer
Public property mParentLayer
Handle to parent layer if this is a child (i.e. from catalog or online layer). NULL for all top-level layers.
Public property mPixelHeight
RASTER/ELEV ONLY: Number of pixels tall layer is
Public property mPixelSizeX
RASTER/ELEV ONLY: Pixel size in meters in the x direction
Public property mPixelSizeY
RASTER/ELEV ONLY: Pixel size in meters in the y direction
Public property mPixelWidth
RASTER/ELEV ONLY: Number of pixels wide layer is
Public property mRasterTypeFlags
Raster type flags, specifies what type of data a raster layer actually contains
Public property mTypeName
Layer type name
Public property mUsedDefaultPos
RASTER/ELEV ONLY: Was the default position used for this layer since the file could not be automatically positioned?
Public property mUserData
Custom data associated with layer provided by user via GM_SetLayerUserData function
Public property mUserText
Custom text string associated with layer provided by user via GM_SetLayerUserText function or loaded form workspace.
Top
See Also