Global Mapper SDK
| GM_LayerInfo_t Class |
This type is used when returning information about a layer
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public class GM_LayerInfo_t
The GM_LayerInfo_t type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object .) | |
| Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
|
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from
Object
.)
|
|
| GetType |
Gets the type of the current instance.
(Inherited from
Object
.)
|
|
| MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
| ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
| Name | Description | |
|---|---|---|
| mArchiveFilename |
Filename within archive file (e.g. .zip or .tar.gz) from which layer was loaded, if any (might be NULL)
|
|
| mBandBitDepth |
RASTER/ELEV ONLY: number of bits per band value. Multiply by mNumBands to get total bit depth per sample.
|
|
| mBandValType |
RASTER/ELEV ONLY: type of data for the bands
|
|
| mCodePage |
Code page for text in layer. 0 is default and current active code page (CP_ACP). CP_UTF8 is for UTF-8 interpretation.
|
|
| mControlPoints |
RASTER ONLY: Ground control points list. Point to GM_GroundControlPoint_t
|
|
| mDescription |
Description string
|
|
| mDfltViewGlobal |
Default view bounding rect of layer in global coordinates (usually same as mGlobalRect)
|
|
| mElevUnits |
Elevation units for layer
|
|
| mEnabled |
Is this layer enabled for display or it it hidden?
|
|
| mExtraLoadFlags |
Additional load flags with options selected by user during load. Pass these to GM_LoadLayerListEx to remember options.
|
|
| 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
|
|
| mGlobalPixelHeight |
RASTER/ELEV ONLY: Approximate number of pixels required in height for a 1:1 pixel mapping in the current projection
|
|
| mGlobalPixelWidth |
RASTER/ELEV ONLY: Approximate number of pixels required in width for a 1:1 pixel mapping in the current projection
|
|
| mGlobalRect |
Bounding rect of layer in global coordinates
|
|
| mGroupName |
Group name that the layer is in. NULL for no group. Separated with <sep> if multiple levels.
|
|
| mHasRasterData |
Does this layer have raster or elevation data?
|
|
| mHasVectorData |
Does this layer have vector data (the features counts can all be 0 for things like map catalogs)
|
|
| mMaxElevation |
ELEV ONLY: Maximum elevation in meters
|
|
| mMetadataList |
List of metadata attributes and values for the layer
|
|
| mMinElevation |
ELEV ONLY: Minimum elevation in meters
|
|
| mNativeProj |
Native projection of layer
|
|
| mNativeRect |
Bounding rect of layer in native coordinates
|
|
| mNumAreas |
VECTOR ONLY: Number of area features
|
|
| mNumBands |
Number of bands in a raster image (use GM_SetRasterDisplayOptions to change color band layout)
|
|
| mNumLidarPoints |
VECTOR ONLY: Number of Lidar point cloud points (fetch with GM_GetLidarPoint)
|
|
| mNumLines |
VECTOR ONLY: Number of line features
|
|
| mNumPoints |
VECTOR ONLY: Number of point features
|
|
| mPalette |
List of palette entries for palette-based raster layer
|
|
| mParentLayer |
Handle to parent layer if this is a child (i.e. from catalog or online layer). NULL for all top-level layers.
|
|
| mPixelHeight |
RASTER/ELEV ONLY: Number of pixels tall layer is
|
|
| mPixelSizeX |
RASTER/ELEV ONLY: Pixel size in meters in the x direction
|
|
| mPixelSizeY |
RASTER/ELEV ONLY: Pixel size in meters in the y direction
|
|
| mPixelWidth |
RASTER/ELEV ONLY: Number of pixels wide layer is
|
|
| mRasterTypeFlags |
Raster type flags, specifies what type of data a raster layer actually contains
|
|
| mTypeName |
Layer type name
|
|
| mUsedDefaultPos |
RASTER/ELEV ONLY: Was the default position used for this layer since the file could not be automatically positioned?
|
|
| mUserData |
Custom data associated with layer provided by user via GM_SetLayerUserData function
|
|
| mUserText |
Custom text string associated with layer provided by user via GM_SetLayerUserText function or loaded form workspace.
|
Comments
0 comments
Please sign in to leave a comment.