| GM_Layer_t Class |
Object that contains all operations to be done on a single layer.
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public
class
GM_Layer_t
:
IDisposable
The GM_Layer_t type exposes the following members.
| Name | Description | |
|---|---|---|
| GM_Layer_t |
Load a Layer from a specified file.
|
| Name | Description | |
|---|---|---|
| AddAreaToVectorLayer |
Adds a area feature to a loaded vector layer
| |
| AddLineToVectorLayer |
Adds a point feature to a loaded vector layer
| |
| AddPointToVectorLayer |
Adds a point feature to a loaded vector layer
| |
| AddHoleInArea | Adds a new hole / island to a loaded area feature | |
| Close |
Closes Layer and cleans unmanaged code. Returns GM_Error_t32
| |
| CombineTerrainLayers |
Creates a new terrain layer by combining 2 loaded terrain grid layers (not implemented on WinCE)
| |
| CreateCustomElevGridLayer |
Creates a new custom layer for an in-memory elevation grid (not implemented on WinCE)
| |
| CreateCustomRasterLayer |
Creates a new custom layer for an in-memory raster grid (not implemented on WinCE)
| |
| CreateCustomVectorLayer |
Creates a new custom layer for adding vector features to
| |
| CreateVectorLayerFromFindResults |
Creates a new vector layer from the results of a find operation
| |
| DeleteHoleInArea | Changes the delete status of a hole / island in a loaded area feature | |
| Dispose |
Does the Same thing as Close
| |
| Draw |
Draws the specified portion of the specified layer to the DIB. If no layer
is explicitly specified, all loaded layers will be drawn.
| |
| Equals |
Compares equality of two layers based off their handles
(Overrides
Object
Equals(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
.)
| |
| FlushCache |
Flushes any in-memory cache for the layer (mainly useful in low-memory environments)
| |
| GetAreaFeature |
Gets a Area Feature in this layer at the specified index with optional flags.
| |
| GetAreaFeatureEx |
Gets a Area Feature in this layer at the specified index with optional flags.
| |
| GetAvailableOnlineSourceList |
Retrieves a list of all available online sources
| |
| GetFeatureElevation |
Gives the elevation of a feature.
Set the name of the elevation attribute using GM_Layer_m.SetLayerElevationAttribute().
| |
| GetHashCode |
Gets the Hash Code
(Overrides
Object
GetHashCode
.)
| |
| GetLayerInfo |
Returns a copy of information about the specified layer. Returns
NULL if the layer is not loaded.
| |
| GetLayerLidarStats |
Retrieves the statistics for a Lidar layer
| |
| GetLidarPoint |
Retrieves the Lidar point feature at the given index from the layer
| |
| GetLineFeature |
Gets a Line Feature in this layer at the specified index with optional flags.
| |
| GetPixelDataInRect | Retrieves an entire chunk of raw data from the provided layer. | |
| GetLineFeatureEx |
Gets a Line Feature in this layer at the specified index with optional flags.
| |
| GetOnlineLayerLocationMetadata | Queries an online layer for location-specific metadata (as a file) | |
| GetLocationColor(Double, Double, GM_Color_t ) |
Retrieves the color at a given location from a provided layer or from the
list of currently loaded raster and elevation layers (topmost layer first).
| |
| GetLocationColor(GM_Layer_t, Double, Double, GM_Color_t ) |
Retrieves the color at a given location from a provided layer or from the
list of currently loaded raster and elevation layers (topmost layer first).
| |
| GetLocationElevation(Double, Double, Single ) |
Retrieves the elevation at a given location from a provided layer or from the
list of currently loaded elevation layers (topmost elevation layer first).
| |
| GetLocationElevation(GM_Layer_t, Double, Double, Single ) |
Retrieves the elevation at a given location from a provided layer or from the
list of currently loaded elevation layers (topmost elevation layer first).
| |
| GetOnlineSourceInfo |
Gets detailed information about an online source and checks availability
| |
| GetPixelBandValue(Int32, Int32, Int32, Int32 ) |
Retrieves the band value at a given pixel location in the provided layer.
| |
| GetPixelBandValue(GM_Layer_t, Int32, Int32, Int32, Int32 ) |
Retrieves the band value at a given pixel location in the provided layer.
| |
| GetPixelColor(Int32, Int32, GM_Color_t ) |
Retrieves the color at a given pixel location in the provided layer.
| |
| GetPixelColor(GM_Layer_t, Int32, Int32, GM_Color_t ) |
Retrieves the color at a given pixel location in the provided layer.
| |
| GetPixelColorRow(Int32, Color , Color) |
Retrieves an entire row of color values from the provided layer.
| |
| GetPixelColorRow(GM_Layer_t, Int32, Color , Color) |
Retrieves an entire row of color values from the provided layer.
| |
| GetPixelElevation(Int32, Int32, Single ) |
Retrieves the elevation at a given pixel location in the provided layer.
| |
| GetPixelElevation(GM_Layer_t, Int32, Int32, Single ) |
Retrieves the elevation at a given pixel location in the provided layer.
| |
| GetPixelElevationRow(Int32, Single , Single) |
Retrieves an entire row of elevation values from the provided layer.
| |
| GetPixelElevationRow(GM_Layer_t, Int32, Single , Single) |
Retrieves an entire row of elevation values from the provided layer.
| |
| GetPointFeature |
Gets a copy of a Point Feature in this layer at the specified index with optional flags.
| |
| GetPointFeatureEx |
Gets a copy of a Point Feature in this layer at the specified index with optional flags.
| |
| GetType | Gets the type of the current instance.
(Inherited from
Object
.)
| |
| IsFeatureDeleted |
Queries the delete status of the feature at the given
index in the layer
| |
| IsHoleInAreaDeleted | Queries the delete status of a hole / island in a given area feature | |
| LoadGenericAsciiTextLayer |
Loads a new layer from a simple ASCII text file file. A pointer to the layer is stored for use in later calls.
| |
| LoadLayer |
Displays a prompt to select which file to load.
| |
| LoadOnlineLayer |
Loads data from an online source, like a WMS server or TerraServer-USA
| |
| LoadRectifiedLayer |
Loads a new layer from a file. A pointer to the layer is stored for
use in later calls. The layer will be rectified using the ground
control points and projection provided.
| |
| LoadVectorFromWKTString |
Loads a new vector layer from a WKT geometry string. A pointer to the layer is stored for
use in later calls. | |
| MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
| |
| RepositionLayer |
Repositions/reprojects a previously loaded raster layer
| |
| SetAreaFeatureClass |
Sets the classification to use for the given feature.
| |
| SetAreaFeatureDrawStyle |
Sets the drawing style to use for the area feature
| |
| SetAreaFeaturePointList |
Sets the list of point locations to use for a given area feature
| |
| SetAreaFeaturePointListEx |
Sets the list of point locations to use for a given area feature, including per-vertex elevations.
| |
| SetCodePage |
Sets the codepage interpretation for the layer
| |
| SetFeatureAttrList |
Sets the list of attribute/values to use for the specified feature.
| |
| SetFeatureDelete |
Changes the delete status of the feature at the given
index in the layer
| |
| SetFeatureDescription |
Sets the description to use for the feature.
| |
| SetFeatureLabel |
Sets the display label to use for the feature.
| |
| SetLayerDescription |
Sets the description for the layer
| |
| SetLayerElevationAttribute |
Sets the name of the attribute to use for retrieving the elevation value of
features within this layer.
| |
| SetLayerElevationUnits |
Sets the elevation units to use for 3D vector features without an elevation unit in the elevation attribute
| |
| SetLayerEnabled |
Sets whether or not a given layer is enabled for display. If disabled, the
layer will never be drawn or used as input for other translucent or
texture-mapped layers.
| |
| SetLayerHeightAttribute |
Sets the name of the attribute to use for retrieving the height value of
point features within this layer.
| |
| SetLayerHeightUnits |
Sets the height units to use for 3D vector features without a height unit in the height attribute
| |
| SetLayerLabelAttribute |
Sets the name of the attribute to use for setting the display label of
features within this layer.
| |
| SetLayerPalette |
Sets a custom palette for the layer to override the existing palette. Only works
for palette-based layers.
| |
| SetLayerUserData |
Sets the user data for the layer.
| |
| SetLayerUserText |
Sets the user text for the layer. Persistent through save to workspace.
| |
| SetLidarPoint |
Sets the Lidar point feature at the given index from the layer
| |
| SetLineFeatureClass |
Sets the classification to use for the given feature.
| |
| SetLineFeatureDrawStyle |
Sets the drawing style to use for the line feature
| |
| SetLineFeaturePointList |
Sets the list of point locations to use for a given line feature
| |
| SetLineFeaturePointListEx |
Sets the list of point locations to use for a given line feature, including elevation list.
| |
| SetPointFeatureClass |
Sets the classification to use for the given feature.
| |
| SetPointFeatureDrawStyle |
Sets the drawing style to use for the point feature
| |
| SetPointFeaturePosition |
Sets the location to use for a given point feature
| |
| ShowOptionsDialog |
Show display options dialog for layer(s)
| |
| ToString |
Returns a string representation of the object
(Overrides
Object
ToString
.)
|
| Name | Description | |
|---|---|---|
| Equality |
Compares equality of two layers based off their handles
| |
| Inequality |
Compares inequality of two layers based off their handles
|