User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector

TGIS_LayerVector class

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector | Classes | Constructors | Fields | Methods | Properties | Events

General layer class for vector layers. Must be derived to provide file access.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public class TGIS_LayerVector : TGIS_Layer
{
}
' VisualBasic
Public Class TGIS_LayerVector
  Inherits TGIS_Layer
End Class
// Oxygene
type
  TGIS_LayerVector = public class( TGIS_Layer )
  end;

Inheritance

→ TGIS_BaseObjectDisposable → TGIS_LayerAbstractTGIS_Layer

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_LayerVector() public Create layer.
(Overrides TGIS_Layer.TGIS_Layer())

Fields

Inherited Protected
Name Visibility Description
bIgnoreShapeParams protected Internal status of IgnoreShapeParams property.
cursorState protected Whole cursor status.
cursorStateStore protected Whole cursor status.
FActive protected Is layer active?
(Inherited from TGIS_Layer)
FAddition protected Addition value.
(Inherited from TGIS_Layer)
FAge protected Age of the layer.
(Inherited from TGIS_Layer)
FBasemap protected True if the layer is interpreted as basemap.
(Inherited from TGIS_Layer)
FBlockRTree protected True if rtree can not be enabled.
FCachedPaint protected False if layer must be painted directly (bypassing cache).
(Inherited from TGIS_Layer)
FCaption protected Layer caption.
(Inherited from TGIS_Layer)
FCodePage protected Code Page in which text has been stored.
(Inherited from TGIS_Layer)
FCodePageForced protected Code Page forced by project file or property setting.
(Inherited from TGIS_Layer)
FCollapsed protected Is layer collapsed?
(Inherited from TGIS_Layer)
FComments protected Additional comments.
(Inherited from TGIS_Layer)
FConfigFile protected Configuration file handle.
(Inherited from TGIS_Layer)
FConfigFile2 protected Configuration file handle.
(Inherited from TGIS_Layer)
FConfigName protected Configuration file name.
(Inherited from TGIS_Layer)
FCS protected Projection object.
(Inherited from TGIS_Layer)
FCustomData protected List of custom data.
(Inherited from TGIS_Layer)
FDormantMode protected Dormant mode for the layer.
(Inherited from TGIS_Layer)
FDriver protected Layer driver.
(Inherited from TGIS_Layer)
FExtent protected Layer extent.
(Inherited from TGIS_Layer)
FExtent3D protected Layer extent 3D.
(Inherited from TGIS_Layer)
FFileCopyright protected Additional textual information about layer copyright.
(Inherited from TGIS_Layer)
FFileInfo protected Additional textual information about the layer such as compression, number of pixels, copyright etc.
(Inherited from TGIS_Layer)
FHideFromLegend protected True if layer should not be visible in a legend.
(Inherited from TGIS_Layer)
findSmartSizeFactor protected SmartSize scaling factor (to scale between projected/unprojected size.
FInMemoryRTree protected True if rtree file will be created in-memory.
FIsLocked protected True if layer is in locked state Lock.
(Inherited from TGIS_Layer)
FIsModified protected True if structure (field, geometry etc) was modified.
(Inherited from TGIS_Layer)
FIsOpened protected True if layer was opened.
(Inherited from TGIS_Layer)
FIsPrepared protected True if layer was opened.
(Inherited from TGIS_Layer)
FIsReadOnly protected Read only flag.
(Inherited from TGIS_Layer)
FMaxTileSize protected Maximum allowed tile size for the layer.
(Inherited from TGIS_Layer)
FMultiUserMode protected Multiuser mode.
(Inherited from TGIS_Layer)
FName protected Layer name.
(Inherited from TGIS_Layer)
FOnBusy protected Busy event.
(Inherited from TGIS_Layer)
FOnCursorAfterFetch protected OnCursorAfterFetch event.
FOnCursorBeforeFetch protected OnCursorBeforeFetch event.
FOnCursorClose protected OnCursorClose event.
FOnCursorOpen protected CursorOpen event.
FOnLabelPos protected ShapeLabelPos events.
FOnPaintLayer protected PaintLayer event.
(Inherited from TGIS_Layer)
FOnPaintShape protected PaintShape event.
FOnPaintShapeChart protected PaintShapeChart event.
FOnPaintShapeLabel protected PaintShapeLabel event.
FOnPassword protected Will be fired upon opening layer to resolve any username/password
(Inherited from TGIS_Layer)
FOnRead protected Will be fired upon each file Read request.
(Inherited from TGIS_Layer)
FOnShapeFieldChange protected OnShapeFieldChange event.
FOnShapeGeometryChange protected OnShapeGeometryChange event.
FOnWrite protected Will be fired upon each file Write request.
(Inherited from TGIS_Layer)
forceCachedMode protected Set tor True to force cached (bitmap) type of drawing.
(Inherited from TGIS_Layer)
FParamsList protected List of parameters set (sections).
(Inherited from TGIS_Layer)
FParentLayer protected Parent layer.
(Inherited from TGIS_Layer)
FPath protected Layer path.
(Inherited from TGIS_Layer)
FPixelsPerInch protected Pixel density.
FProjectedExtent protected Precalculated projected extent.
(Inherited from TGIS_Layer)
FProjectedExtentBase protected Precalculated projected extent - Base extent (unprojected).
(Inherited from TGIS_Layer)
FProjectedExtentEPSG protected Precalculated projected extent - Layer CS Context.
(Inherited from TGIS_Layer)
FProjectedExtentRotationAngle protected Precalculated projected extent - Rotation context.
(Inherited from TGIS_Layer)
FProjectedExtentRotationPoint protected Precalculated projected extent - Rotation context.
(Inherited from TGIS_Layer)
FProjectedExtentViewerEPSG protected Precalculated projected extent - Viewer CS Context.
(Inherited from TGIS_Layer)
FRenderer protected Handle to a renderer used for drawing shapes.
(Inherited from TGIS_Layer)
FRTreeFile protected Rtree based index.
FSelectedList protected List of uids of selected shapes.
FStatistics protected Statistics engine.
(Inherited from TGIS_Layer)
FStream protected Reference to a potential layer underlying stream.
(Inherited from TGIS_Layer)
FSubLayers protected Sub layers list.
(Inherited from TGIS_Layer)
FSubType protected Type of sublayer.
(Inherited from TGIS_Layer)
FSupportedDimensions protected Set of dimensions supported by a layer.
FSupportedShapes protected Set of shapes supported by a layer.
FTag protected Tag value.
(Inherited from TGIS_Layer)
FTagInternal protected Internal Tag value.
(Inherited from TGIS_Layer)
FTagPointer protected Pointer Tag value
(Inherited from TGIS_Layer)
FTransform protected Custom transformation.
(Inherited from TGIS_Layer)
FTransparency protected Transparency value.
(Inherited from TGIS_Layer)
FUnSupportedOperations protected Set of operations not supported by a layer.
(Inherited from TGIS_Layer)
FUseConfig protected Is config file active?
(Inherited from TGIS_Layer)
FUserObject protected User object.
(Inherited from TGIS_Layer)
FUseRTree protected True if rtree is in use.
FViewer protected Reference to viewer object.
(Inherited from TGIS_Layer)
inDraw protected True if layer paint procedure not yet complete.
(Inherited from TGIS_Layer)
oldMarkerPoint protected Old marker point screen coordinates (to filter drawing points).
paramsCache protected List of prepared parameters.
(Inherited from TGIS_Layer)
View3D public 3D Representation properties.
(Inherited from TGIS_Layer)

Methods

Inherited Overrides Protected
Name Visibility Description
AddField public Adds a new field.
AddFieldInternal(string, TGIS_FieldType, int, int) public Adds new field; for internal use.
AddFieldInternal(string, TGIS_FieldType, int, int, bool, int) public Adds new field; for internal use.
AddShape(TGIS_Shape) public Adds a copy of shape and makes it editable.
AddShape(TGIS_Shape, bool) public Adds a copy of shape and makes it editable.
Alive public Makes a layer non-dormant.
(Inherited from TGIS_Layer)
applyConfigOptions protected Read config option parameters.
(Overrides TGIS_Layer.applyConfigOptions)
applyConfigProjection protected Read config projection parameters.
(Inherited from TGIS_Layer)
ApplyCuttingPolygon public Sets a cutting polygon for a layer.
(Inherited from TGIS_Layer)
AssignedLabelPosEvent public Check if the LabelPosEvent event is assigned.
bindField protected Obtain a bind number for a given field name.
bindFieldInternal protected Obtain a bind number for a given field name.
BindSqlQueryInternal public Binds layer to SQL query object to provided field access methods.
Build(string, TGIS_Extent, TGIS_ShapeType) public Builds a new layer - prepares storage.
Build(string, TGIS_Extent, TGIS_ShapeType, TGIS_DimensionType) public Builds s new layer - prepare storage.
CentroidScope public Calculates a centroid for a scope.
ChangeHash public Changes the hash for the purpose of verifying layer's modifications.
(Inherited from TGIS_Layer)
checkParamsCache protected Check if shape is visible based on current paramsCache setup.
ClearModified public Sets IsModified flag to false for a layer and its sublayers.
(Inherited from TGIS_Layer)
CreateShape(TGIS_ShapeClass) public Creates a new shape and makes it editable.
CreateShape(TGIS_ShapeType) public Creates a new shape and makes it editable.
CreateShape(TGIS_ShapeType, TGIS_DimensionType) public Creates a new shape and makes it editable
cursorClose protected Free cursor allocated by cursorOpen().
cursorEof protected Is it the end of the shapes?
cursorEofInternal protected Has the end of shapes been reached?
cursorFindFirst protected Find first occurrence of an item which meets extent and query.
cursorFindNext protected Find next occurrence of item defined in cursorFindFirst.
cursorFirst protected Move to the first shape in the cursor.
cursorFirstInternal protected Move to the first shape in the Layer.
cursorNext protected Move to the next shape in the cursor.
cursorNextInternal protected Move to next shape in Layer.
cursorOpen protected Allocate new cursor.
cursorShape protected Get current shape.
cursorShapeEx protected Get current shape.
cursorShapeInternal protected Get current shape.
cursorStateRestore protected Restore cursor state to previously stored value.
cursorStateSave protected Store cursor state.
Delete public Deletes a shape.
DeleteField public Deletes a field.
Deselect public Clears selection of shape.
DeselectAll public Clears selection of all shapes.
Dormant public Makes a layer dormant.
(Inherited from TGIS_Layer)
DormantGain public Calculates the approximate gain (in Megabytes) which can be achieved by releasing memory by calling Dormant method.
(Inherited from TGIS_Layer)
Draw public Draws a layer.
(Inherited from TGIS_Layer)
DrawChart public Draws layer charts.
DrawEx public Draws a layer within a defined extent.
(Overrides TGIS_Layer.DrawEx)
drawExtent protected Calculates the drawing area /clipping area of device/.
(Inherited from TGIS_Layer)
drawExtentEx protected Calculates the drawing area /clipping area of device/.
(Inherited from TGIS_Layer)
DrawFlash public Flashes queued shapes.
(Overrides TGIS_Layer.DrawFlash)
DrawScope public Draws only shapes that meet a scope criterion.
DrawSelected public Draws only the selected item(s) on layer.
(Inherited from TGIS_Layer)
DrawSelectedEx public Draws only the selected item(s) on layer that are within a defined extent.
(Overrides TGIS_Layer.DrawSelectedEx)
ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, string, bool) public Exports the layer.
ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, string, TGIS_Shape, string, bool) public Exports layer.
ExportLayerEx public Exports layer.
ExportStructureToFLD public Exports fields structure to a fld file.
FieldInfo public Returns pointer to GIS_FieldInfo structure.
FinalizeDirectWrite public Finalizes direct writing into layer storage.
FindField public Finds a field in the fields list.
FindFieldInternal public Finds a field in the fields list (for internal use).
FindFirst public Finds the first shape in layer.
FindFirst(TGIS_Extent) public Finds the first occurrence of an item which meets an extent.
FindFirst(TGIS_Extent, string) public Finds the first occurrence of an item which meets an extent and query.
FindFirst(TGIS_Extent, string, TGIS_Shape, string) public Finds the first occurrence of an item which meets an extent, query, and additional parameters.
FindFirst(TGIS_Extent, string, TGIS_Shape, string, bool) public Finds the first occurrence of an item which meets an extent, query, and additional parameters.
FindNext public Finds the next occurrence of an item defined in FindFirst.
FlashShape public Flashes shape several times
ForEach public Fetches all shapes from the layer using callback function.
ForEachSubLayer public Returns in callback event the layer and all sublayers belonging to it.
(Inherited from TGIS_Layer)
GetAvailableLayers public Gets a list of layers available in storage.
(Overrides TGIS_Layer.GetAvailableLayers)
getBindedField protected Get field value for a shape given by unique identity.
getBindedFieldInternal protected Get field value for a shape given by unique identity.
getEdited protected Internally used by TGIS_Viewer.
GetField public Gets a field value for a shape determined by its unique identity.
GetFieldEx public Gets a field value for a shape determined by its unique identity.
getFieldInternal protected Get the stored field value for a shape specified by unique identifier.
GetLastUid public Gets the Uid of the last shape.
GetNewUid public Gets the Uid for a new shape.
GetSelectedCount public Returns the quantity of selected shapes.
GetShape(long) public Gets a shape by its unique identifier on default cursor (0).
GetShape(long, int) public Gets a shape by unique identifier.
getShapePos protected Get shape using bisection.
getStatistics protected Parse label string (to expand fields etc.).
GetUniqueFieldName public Suggests a unique field name.
HourglassShake public Notifies of busy state using an hourglass.
(Inherited from TGIS_Layer)
ImportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, string, bool) public Imports a layer from an existing layer.
ImportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, string, TGIS_Shape, string, bool) public Imports a layer from an existing layer.
ImportLayerEx public Imports a layer from an existing layer.
ImportStructure public Imports the field structure from another layer
InitializeDirectWrite public Builds a new layer - prepares storage for direct writing.
InvalidateScope public Invalidates shapes in the scope.
InvalidateSelection public Invalidates all selected shapes (but only to redraw the selection, not the shapes themselves).
IsGrid public Checks if the layer type is grid.
(Inherited from TGIS_Layer)
isInScope protected Internally used by TGIS_Viewer.
IsPixel public Checks if the layer type is pixel.
(Inherited from TGIS_Layer)
isShapeVisible protected Calculate a visibility of a given shape.
isSublayer protected Checks if the layer is a sublayer.
(Inherited from TGIS_Layer)
IsSupported public Checks if the operation is supported by the layer.
(Inherited from TGIS_Layer)
IsVector public Checks if the layer type is vector.
(Overrides TGIS_Layer.IsVector)
IsVector3D public Checks if the layer type is vector 3D.
(Overrides TGIS_Layer.IsVector3D)
IsVisible public Checks if the layer is visible in a defined extent and current params.
(Inherited from TGIS_Layer)
LegendInfo public Returns parameters filled with the renderer styling.
Locate(TGIS_Point, double) public Locates a shape.
Locate(TGIS_Point, double, bool) public Locates a shape.
LocateEx(TGIS_Point, double, long, double, int, TGIS_Point) public Locates a shape (more precise).
LocateEx(TGIS_Point, double, long, double, int, TGIS_Point, bool) public Locates a shape (more precise).
LocateEx(TGIS_Point, double, long, double, int, TGIS_Point, double, bool) public Locates a shape (more precise).
Lock public Locks layer in burst-mode operation.
(Inherited from TGIS_Layer)
lockRender protected Prepare colors and size for a shape using automatic renderer.
lockThread protected Locks thread.
(Inherited from TGIS_Layer)
Loop public Prepares enumerator (also known as iterator or cursor) to iterate the layer.
Loop(TGIS_Extent) public Prepares enumerator (also known as iterator or cursor) to iterate the layer.
Loop(TGIS_Extent, string) public Prepares enumerator (also known as iterator or cursor) to iterate the layer.
Loop(TGIS_Extent, string, TGIS_Shape, string) public Prepares enumerator (also known as iterator or cursor) to iterate the layer.
Loop(TGIS_Extent, string, TGIS_Shape, string, bool) public Prepares enumerator (also known as iterator or cursor) to iterate the layer.
MergeLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, string, bool, bool) public Merges layer from an existing layer.
MergeLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, string, TGIS_Shape, string, bool, bool) public Merges layer with an existing layer.
MergeLayerEx public Merges layer with an existing layer.
MergeStructure(TGIS_LayerVector, bool) public Merges the field structure from another layer.
MergeStructure(TGIS_LayerVector, bool, bool) public Merges the field structure from another layer.
Move public Moves a layer up or down in the viewer zorder list.
(Inherited from TGIS_Layer)
MoveEx public Moves a layer up or down in the viewer zorder list (only visible layers).
(Inherited from TGIS_Layer)
MustCalculateStatistics public Verifies if all statistics required to properly render the layer are available.
(Overrides TGIS_Layer.MustCalculateStatistics)
MustReproject public Checks if the layer must be reprojected.
(Inherited from TGIS_Layer)
MustSave public Checks if the layer was modified by editing.
(Overrides TGIS_Layer.MustSave)
nextCandidate protected Provides next shape from the candidate list.
Open public Opens the layer.
(Inherited from TGIS_Layer)
optimizeParamsCache protected Move section specified by _idx to the top of the cached list.
(Inherited from TGIS_Layer)
Paint public Draws the layer or fires PaintLayer event (if defined).
(Inherited from TGIS_Layer)
ParamsAsDrawn public Gets a shape's styling parameters that are used during drawing in the viewer, and fills the _params parameter.
Prepare public Opens the layer.
(Inherited from TGIS_Layer)
prepareCandidates protected Prepare list of scope candidates for SQL Layers.
PrepareExportFieldNames(int) public Prepares field names to export.
PrepareExportFieldNames(int, bool) public Prepares field names to export.
PrepareExportFieldNames(int, bool, bool) public Prepares field names to export.
prepareParamsCache protected Prepare cached section list meeting the _style name.
(Inherited from TGIS_Layer)
PreRecognize public Checks if the layer can read the file.
(Inherited from TGIS_Layer)
Project public Applies a projection on the single point.
(Inherited from TGIS_Layer)
Project3D public Applies a projection on the single point in 3D.
(Inherited from TGIS_Layer)
Project3D_Ref public Applies a projection on the single point in 3D.
(Inherited from TGIS_Layer)
ProjectExtent public Applies a projection on the extent.
(Inherited from TGIS_Layer)
Project_Ref public Applies a projection on the single point.
(Inherited from TGIS_Layer)
queueFlash protected Used by TGIS_Shape to add itself to the flash queue.
RaiseBusyEvent public Fires Busy event of the layer.
(Inherited from TGIS_Layer)
RaiseBusyPrepare public Fires BusyPrepare method of the assigned viewer.
(Inherited from TGIS_Layer)
RaiseBusyRelease public Fires BusyRelease method of the assigned viewer.
(Inherited from TGIS_Layer)
RaiseBusyShake public Fires BusyShake method of the assigned viewer.
(Inherited from TGIS_Layer)
RaiseLabelPosEvent public Raise the LabelPosEvent event.
ReadConfig public Reads the layer configuration files.
(Inherited from TGIS_Layer)
ReadConfigParam public Reads the layer configuration parameters.
(Inherited from TGIS_Layer)
ReadFieldDefinition public Parses the field definition file.
ReadFieldRules public Parses the field rules file.
RecalcExtent public Recalculates extent.
(Overrides TGIS_Layer.RecalcExtent)
RecalcProjectedExtent public Recalculates a projected extent.
(Inherited from TGIS_Layer)
releaseFlash protected Used by TGIS_Shape to remove itself from the flash queue.
removeCandidate protected Remove shape from the candidate list.
RenameField public Renames a field.
ReOpen public Reopens the layer.
(Inherited from TGIS_Layer)
RereadConfig public Rereads the layer configuration files.
(Inherited from TGIS_Layer)
resetMustReproject protected Reset MustReporoject state.
(Inherited from TGIS_Layer)
Revert public Reverts a shape to its original state.
RevertAll public Reverts layer to its original content.
(Overrides TGIS_Layer.RevertAll)
RevertShapes public Reverts all shapes to their original state.
RootLayer public Returns the absolute parent layer.
(Inherited from TGIS_Layer)
SaveAll public Saves layer and destroys mirrored items.
(Inherited from TGIS_Layer)
SaveData public Saves layer and destroys mirrored items.
(Overrides TGIS_Layer.SaveData)
SetCSByEPSG public Sets up Coordinate System to a coordinate system provided by a EPSG code.
(Inherited from TGIS_Layer)
SetCSByWKT public Sets up Coordinate System to a coordinate system provided by a WKT string (GEOGCS or PROJCS).
(Inherited from TGIS_Layer)
SetCSByWKTFile public Sets up Coordinate System to a coordinate system provided by a file which contains a WKT string (GEOGCS or PROJCS).
(Inherited from TGIS_Layer)
setUp protected Makes a general layer setup first step.
(Overrides TGIS_Layer.setUp)
setUp2 protected Makes a general layer setup second step.
(Overrides TGIS_Layer.setUp2)
setUp3 protected Makes a general layer setup third step.
(Overrides TGIS_Layer.setUp3)
storeConfigOptions protected Store layer options in a configuration file.
(Overrides TGIS_Layer.storeConfigOptions)
transformExtent protected Custom transformation of the extent.
(Inherited from TGIS_Layer)
Unlock public Unlocks layer from burst-mode operation.
(Inherited from TGIS_Layer)
unlockRender protected Do after lockRender.
unlockThread protected Unlocks thread.
(Inherited from TGIS_Layer)
Unproject public Applies reverse projection (recovers from the projection) on the single point.
(Inherited from TGIS_Layer)
Unproject3D public Applies reverse projection (recovers from the projection) on the singlepoint in 3D.
(Inherited from TGIS_Layer)
Unproject3D_Ref public Applies reverse projection (recovers from the projection) on the single point in 3D.
(Inherited from TGIS_Layer)
UnprojectExtent public Applies reverse projection (recovers from the projection) on the extent.
(Inherited from TGIS_Layer)
Unproject_Ref public Applies reverse projection (recover from projection) on the single point.
(Inherited from TGIS_Layer)
WriteConfig public Writes layer configuration files.
(Inherited from TGIS_Layer)
WriteShapeDirect public Writes a shape directly into storage.

Properties

Inherited Protected
Name Visibility Description
Active public Checks if the layer is active? Active means layer is visible and an object can be localized on the layer.
(Inherited from TGIS_Layer)
Addition public Additional value.
(Inherited from TGIS_Layer)
Age public Age of the layer (since its creation).
(Inherited from TGIS_Layer)
Basemap public True if the layer must be interpreted as basemap (for background painting).
(Inherited from TGIS_Layer)
BlockRTree public If true, then Rtree for the layer cannot be enabled and UseRtree is ignored.
CachedPaint public False if layer must be painted directly (bypassing cache).
(Inherited from TGIS_Layer)
Caption public Caption of layer; if not filed directly then will be filed with Name when adding to the Viewer.
(Inherited from TGIS_Layer)
CodePage public Code Page in which text has been stored.
(Inherited from TGIS_Layer)
Collapsed public Checks if the layer is collapsed? Collapsed means only the layer's title will be visible inside the legend.
(Inherited from TGIS_Layer)
Comments public Additional user comments.
(Inherited from TGIS_Layer)
ConfigFile public Configuration file handle.
(Inherited from TGIS_Layer)
ConfigName public Configuration file name.
(Inherited from TGIS_Layer)
CS public Coordinate System that is assigned to the layer.
(Inherited from TGIS_Layer)
CustomData public List of custom, user-defined data.
(Inherited from TGIS_Layer)
DefaultDimension public Default shape dimension for the layer.
DefaultShapeType public Default shape type for the layer.
DirectMode public True if the layer is direct-mode (bypassing cache).
(Inherited from TGIS_Layer)
DormantMode public Dormant mode for the layer.
(Inherited from TGIS_Layer)
Driver public The layer's driver name.
(Inherited from TGIS_Layer)
DynamicAggregator public Aggregation processor is executed upon the drawing process.
Extent public Extent of the layer.
(Inherited from TGIS_Layer)
Extent3D public Three-dimensional extent of the layer.
(Inherited from TGIS_Layer)
Fields public List of database field definitions.
FieldsVirtual public List of virtual fields.
FileCopyrights public Copyright information about the layer.
(Inherited from TGIS_Layer)
FileInfo public Additional textual information about the layer such as compression, number of pixels, copyright, etc.
(Inherited from TGIS_Layer)
HideFromLegend public False if the layer should not be visible in legend.
(Inherited from TGIS_Layer)
IgnoreShapeParams public If True, then only layer level params will be used.
InMemoryRTree public True if RTree file will be created in-memory.
IsExportable public True if the layer is exportable.
(Inherited from TGIS_Layer)
IsLocked public True if the layer is in locked state.
(Inherited from TGIS_Layer)
IsOpened public True if the layer is opened and is ready for operations.
(Inherited from TGIS_Layer)
IsPersistent public True if the layer is persistent.
(Inherited from TGIS_Layer)
IsReadOnly public True if the layer is read-only.
(Inherited from TGIS_Layer)
IsTopmost public True if the layer can be interpreted as the topmost (trackable) layer.
(Inherited from TGIS_Layer)
Items public A list of all ghost items.
JoinADO public ADO Query to be joined.
JoinCodePage public Code page for JoinADO/JoinDB.
JoinDB public DB Query to be joined.
JoinForeign public Field from Query to be joined.
JoinJDBC public JDBC ResultSet of Query to be joined.
JoinJDBCQuery public JDBC Query to be joined.
JoinNET public ADO.NET Query to be joined.
JoinPrimary public Field from feature table to be joined.
LabelingMode public Labeling mode metadata.
MaxTileSize public Maximum allowed tile size for the layer.
(Inherited from TGIS_Layer)
MultipassRendering public Forces multipass rendering.
MultiUserMode public Type of multiuser mode.
(Inherited from TGIS_Layer)
Name public Name of layer; if not filled directly, then will be filled with Path when added to the viewer.
(Inherited from TGIS_Layer)
Params public Returns parameters (colors, fills, etc.) object.
ParamsList public List of all parameter sections attached to the current layer.
(Inherited from TGIS_Layer)
ParentLayer public Parent layer of a sub layer.
(Inherited from TGIS_Layer)
Path public Path to file holding the layer's data.
(Inherited from TGIS_Layer)
PathFLD public Path to field definitions ini file.
PathFLDX public Path to field rules file.
PathRTree public Path to RTree index.
PathWithDriver public Path to file with the layer's data extended with driver name.
(Inherited from TGIS_Layer)
ProjectedExtent public Extent of the layer in projected units.
(Inherited from TGIS_Layer)
Renderer public Handle to a renderer used for drawing shapes.
(Inherited from TGIS_Layer)
RTreeFile public Rtree based index.
Scope public Scope zone.
ScopeExtent public Scope extent.
SelectedList public List of uids of the selected shapes.
Statistics public Layer statistics engine
(Inherited from TGIS_Layer)
Stream public Reference to a potential layer underlying the stream.
(Inherited from TGIS_Layer)
SubLayers public List of sublayers belonging to the layer.
(Inherited from TGIS_Layer)
SubType public Type of sublayer.
(Inherited from TGIS_Layer)
SupportedDimensions public Set of dimensions supported by a layer.
SupportedShapes public Set of shapes supported by a layer.
SupportedShapesAll public Similar to SupportedShapesSet, but this lists also includes shape types added temporarily by the aggregator.
SymbolingMode public Symboling mode metadata.
Tag public Tag has no predefined meaning.
(Inherited from TGIS_Layer)
TagInternal public TagInternal has no predefined meaning.
(Inherited from TGIS_Layer)
TagPointer public TagPointer has no predefined meaning.
(Inherited from TGIS_Layer)
Transform public Custom transformation.
(Inherited from TGIS_Layer)
Transparency public Transparency value for the layer (0..100).
(Inherited from TGIS_Layer)
UnSupportedOperations public Set of operations not supported by the layer.
(Inherited from TGIS_Layer)
UseConfig public True if config file is active.
(Inherited from TGIS_Layer)
UserObject public UserObject can be used to associate with the layer a user-defined object.
(Inherited from TGIS_Layer)
UseRTree public Sets the use of an index based on RTree structure.
Viewer public Reference to a viewer object.
(Inherited from TGIS_Layer)
ZOrder public Layer's position relative to other layers.
(Inherited from TGIS_Layer)
ZOrderEx public Layer position relative to other visible layers.
(Inherited from TGIS_Layer)

Events

Inherited Protected
Name Visibility Description
CursorAfterFetchEvent public CursorAfterFetch event.
CursorBeforeFetchEvent public CursorBeforeFetch event.
CursorCloseEvent public CursorClose event.
CursorOpenEvent public CursorOpen event.
LabelPosEvent public LabelPos event.
PaintShapeChartEvent public PaintShapeChart event.
PaintShapeEvent public PaintShape event.
PaintShapeLabelEvent public PaintShapeLabel event.
ShapeFieldChangeEvent public ShapeFieldChange event.
ShapeGeometryChangeEvent public ShapeGeometryChange event.

Remarks

Available metadata keys

Metadata Values Default Description
TGIS_Viewer.RotationMode.Labels NO BYFIELD WITHANGLE ALL BYFIELD Labels rotation modes.
TGIS_LayerVector.WriteOriginalUid TRUE FALSE FALSE Field with original uid (ORIG_ID) will be added during layer import.

Virtual fields

Each vector layer supports virtual fields:

(to be accessed by TGIS_Shape.GetField)

Field name Description
GIS_FIELD_AREA Same as TGIS_Shape.AreaCS or TGIS_Shape.Area if layer has no coordinate system assigned.
GIS_FIELD_CENTER_X Center X coordinate of a shape.
GIS_FIELD_CENTER_Y Center Y coordinate of a shape.
GIS_FIELD_CENTER_M Center M coordinate of a 3D shape.
GIS_FIELD_CENTER_Z Center Z coordinate of a 3D shape.
GIS_FIELD_CENTROID_X X coordinate of a shape's centroid TGIS_Shape.Centroid).
GIS_FIELD_CENTROID_Y Y coordinate of a shape's centroid TGIS_Shape.Centroid).
GIS_FIELD_COORD_M M coordinate of the first vertex of a 3D shape.
GIS_FIELD_COORD_Z Z coordinate of the first vertex of a 3D shape.
GIS_FIELD_HIDDEN Same as TGIS_Shape.IsHidden
GIS_FIELD_LENGTH Same as TGIS_Shape.LengthCS or TGIS_Shape.Length if layer has no coordinate system assigned.
GIS_FIELD_MAX_X Maximum X coordinate of a shape. Same as XMax from TGIS_Shape.Extent.
GIS_FIELD_MAX_Y Maximum Y coordinate of a shape. Same as YMax from TGIS_Shape.Extent.
GIS_FIELD_MAX_M Maximum M coordinate of a 3D shape. Same as MMax from TGIS_Shape.Extent3D.
GIS_FIELD_MAX_Z Maximum Z coordinate of a 3D shape. Same as ZMax from TGIS_Shape.Extent3D.
GIS_FIELD_MIN_X Minimum X coordinate of a shape. Same as XMin from TGIS_Shape.Extent.
GIS_FIELD_MIN_Y Minimum Y coordinate of a shape. Same as YMin from TGIS_Shape.Extent.
GIS_FIELD_MIN_M Minimum M coordinate of a 3D shape. Same as MMin from TGIS_Shape.Extent3D.
GIS_FIELD_MIN_Z Minimum Z coordinate of a 3D shape. Same as ZMin from TGIS_Shape.Extent3D.
GIS_FIELD_NOW Current date & time.
GIS_FIELD_NUM_PARTS Same as TGIS_Shape.GetNumParts.
GIS_FIELD_NUM_POINTS Same as TGIS_Shape.GetNumPoints.
GIS_FIELD_SELECTED Same as TGIS_Shape.IsSelected.
GIS_FIELD_UID Same as TGIS_Shape.Uid.

References

2020/07/28 01:09

Page Tools