User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layervector

TGIS_LayerVector class

DK11 for Java | tatukgis.jdk.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 | .NET | ActiveX.

Syntax

// Java
public class TGIS_LayerVector extends TGIS_Layer {
};
// 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 layer will be 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).
(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)
FParams protected Selected parameters set.
(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 Layer Type.
(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 Add a new field.
AddFieldInternal(java.lang.String, TGIS_FieldType, int, int) public Add new field.
AddFieldInternal(java.lang.String, TGIS_FieldType, int, int, bool, int) public Add new field.
AddShape(TGIS_Shape) public Add a new shape (a copy) and make it editable.
AddShape(TGIS_Shape, bool) public Add a new shape (a copy) and make 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 Set cutting polygon for a layer.
(Inherited from TGIS_Layer)
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(java.lang.String, TGIS_Extent, TGIS_ShapeType) public Build new layer - prepare storage.
Build(java.lang.String, TGIS_Extent, TGIS_ShapeType, TGIS_DimensionType) public Build new layer - prepare storage.
CentroidScope public Calculate a centroid for a scope.
ChangeHash public Change hash.
(Inherited from TGIS_Layer)
checkParamsCache protected Check if shape is visible based on current paramsCache setup.
ClearModified public Set IsModified flag to false for a layer and its sublayers.
(Inherited from TGIS_Layer)
CreateShape(&Class) public Create a new shape and make it editable.
CreateShape(TGIS_ShapeClass) public Create a new shape and make it editable.
CreateShape(TGIS_ShapeType) public Create a new shape and make it editable.
CreateShape(TGIS_ShapeType, TGIS_DimensionType) public Create a new shape and make 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 Delete a shape.
DeleteField public Delete field.
Deselect public Clear selection of shape.
DeselectAll public Clear selection of all shapes.
Dormant public Makes a layer dormant.
(Inherited from TGIS_Layer)
DormantGain public Calculate 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 Draw a layer.
(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 Flash queued shapes.
(Overrides TGIS_Layer.DrawFlash)
DrawScope public Draws only shapes that meet a scope criteria.
DrawSelected public Draws only selected item(s) on a layer.
(Inherited from TGIS_Layer)
DrawSelectedEx public Draw only selected item of a layer.
(Overrides TGIS_Layer.DrawSelectedEx)
ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, bool) public Export layer.
ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, TGIS_Shape, java.lang.String, bool) public Export layer.
ExportLayerEx public Export layer.
ExportStructureToFLD public Export fields structure to fld file.
FieldInfo public Return pointer to GIS_FieldInfo structure.
FinalizeDirectWrite public Finalize direct writing into a layer storage.
FindField public Find field in a field list.
FindFieldInternal public Find field in a field list.
FindFirst public Find first occurrence of an item which meets extent and query.
FindFirst(TGIS_Extent) public Find first occurrence of an item which meets extent and query.
FindFirst(TGIS_Extent, java.lang.String) public Find first occurrence of an item which meets extent and query.
FindFirst(TGIS_Extent, java.lang.String, TGIS_Shape, java.lang.String) public Find first occurrence of an item which meets extent and query.
FindFirst(TGIS_Extent, java.lang.String, TGIS_Shape, java.lang.String, bool) public Find first occurrence of an item which meets extent and query.
FindNext public Find next occurrence of item defined in FindFirst.
FlashShape public Flash shape several times
ForEach public Fetch all shapes from the layer using callback function.
ForEachSubLayer public Return in callback event a layer and all sublayers that belong to it.
(Inherited from TGIS_Layer)
GetAvailableLayers public Get 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 Get field value for a shape determined by unique identity.
GetFieldEx public Get field value for a shape determined by unique identity.
getFieldInternal protected Get the stored field value for a shape specified by unique identifier.
GetLastUid public Get Uid of the last shape.
GetNewUid public Get Uid for a new shape.
GetSelectedCount public Return the number of selected shapes.
GetShape(long) public Get shape by unique identifier on default cursor (0).
GetShape(long, int) public Get 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 Notify using an hourglass of busy state.
(Inherited from TGIS_Layer)
ImportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, bool) public Import layer from an existing layer.
ImportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, TGIS_Shape, java.lang.String, bool) public Import layer from an existing layer.
ImportLayerEx public Import layer from an existing layer.
ImportStructure public Import the field structure from another layer
InitializeDirectWrite public Build new layer - prepare storage for direct writing.
InvalidateScope public Invalidate shapes in the scope.
InvalidateSelection public Invalidate all selected shapes (but only to redraw the selection, not the shapes themselves.
IsGrid public Is layer a grid type.
(Inherited from TGIS_Layer)
isInScope protected Internally used by TGIS_Viewer.
IsPixel public Is layer a pixel type.
(Inherited from TGIS_Layer)
isShapeVisible protected Calculate a visibility of a given shape.
isSublayer protected Gives us information if layer is sublayer.
(Inherited from TGIS_Layer)
IsSupported public Is operation supported by the layer.
(Inherited from TGIS_Layer)
IsVector public Is layer a vector type.
(Overrides TGIS_Layer.IsVector)
IsVector3D public Is layer a 3Dvector type.
(Overrides TGIS_Layer.IsVector3D)
IsVisible public Check if layer is visible in given extent and current params.
(Inherited from TGIS_Layer)
LegendInfo public Return parameters filled with the renderer styling.
Locate(TGIS_Point, double) public Locate a shape.
Locate(TGIS_Point, double, bool) public Locate a shape.
LocateEx(TGIS_Point, double, long, double, int, TGIS_Point) public Locate a shape (more precise).
LocateEx(TGIS_Point, double, long, double, int, TGIS_Point, bool) public Locate a shape (more precise).
LocateEx(TGIS_Point, double, long, double, int, TGIS_Point, double, bool) public Locate a shape (more precise).
Lock public Lock layer in burst-mode operation.
(Inherited from TGIS_Layer)
lockRender protected Prepare colors and size for a shape using automatic renderer.
lockThread protected Lock thread.
(Inherited from TGIS_Layer)
Loop public Prepare enumerator (also known as iterator or cursor) to iterate layer.
Loop(TGIS_Extent) public Prepare enumerator (also known as iterator or cursor) to iterate layer.
Loop(TGIS_Extent, java.lang.String) public Prepare enumerator (also known as iterator or cursor) to iterate layer.
Loop(TGIS_Extent, java.lang.String, TGIS_Shape, java.lang.String) public Prepare enumerator (also known as iterator or cursor) to iterate layer.
Loop(TGIS_Extent, java.lang.String, TGIS_Shape, java.lang.String, bool) public Prepare enumerator (also known as iterator or cursor) to iterate layer.
MergeLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, bool, bool) public Merge layer from an existing layer.
MergeLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, java.lang.String, TGIS_Shape, java.lang.String, bool, bool) public Merge layer from an existing layer.
MergeLayerEx public Merge layer from an existing layer.
MergeStructure(TGIS_LayerVector, bool) public Merge the field structure from another layer.
MergeStructure(TGIS_LayerVector, bool, bool) public Merge the field structure from another layer.
Move public Move a layer up or down in the viewer zorder list.
(Inherited from TGIS_Layer)
MoveEx public Move a layer up or down in the viewer zorder list.
(Inherited from TGIS_Layer)
MustCalculateStatistics public Verify if all statistics required to properly render layer are available.
(Overrides TGIS_Layer.MustCalculateStatistics)
MustReproject public Check if layer must be reprojected.
(Inherited from TGIS_Layer)
MustSave public Check if the layer was modified by editing.
(Overrides TGIS_Layer.MustSave)
nextCandidate protected Provides next shape from the candidate list.
Open public Open 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 Get a shape's styling parameters that are used during drawing in viewer, and fill _params parameter with them.
Prepare public Open the layer.
(Inherited from TGIS_Layer)
prepareCandidates protected Prepare list of scope candidates for SQL Layers.
PrepareExportFieldNames(int) public Prepare export field names.
PrepareExportFieldNames(int, bool) public Prepare export field names.
PrepareExportFieldNames(int, bool, bool) public Prepare export field names.
prepareParamsCache protected Prepare cached section list meeting the _style name.
(Inherited from TGIS_Layer)
PreRecognize public Check if layer can read the file.
(Inherited from TGIS_Layer)
Project public Apply a projection on the single point.
(Inherited from TGIS_Layer)
Project3D public Apply a projection on the single point in 3D.
(Inherited from TGIS_Layer)
Project3D_Ref public Apply a projection on the single point in 3D.
(Inherited from TGIS_Layer)
projectExtent protected Project a given extent.
(Inherited from TGIS_Layer)
Project_Ref public Apply 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 Fire Busy event of the layer.
(Inherited from TGIS_Layer)
RaiseBusyPrepare public Fire BusyPrepare method of viewer.
(Inherited from TGIS_Layer)
RaiseBusyRelease public Fire BusyRelease method of viewer.
(Inherited from TGIS_Layer)
RaiseBusyShake public Fire BusyShake method of viewer.
(Inherited from TGIS_Layer)
ReadConfig public Read layer configuration files.
(Inherited from TGIS_Layer)
ReadConfigParam public Read layer configuration parameters.
(Inherited from TGIS_Layer)
ReadFieldDefinition public Parse field definition file.
ReadFieldRules public Parse field rules file.
RecalcExtent public Recalculate extent.
(Overrides TGIS_Layer.RecalcExtent)
RecalcProjectedExtent public Recalculate 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 Rename a field.
ReOpen public Reopen the layer.
(Inherited from TGIS_Layer)
RereadConfig public Reread layer configuration files.
(Inherited from TGIS_Layer)
resetMustReproject protected Reset MustReporoject state.
(Inherited from TGIS_Layer)
Revert public Revert a shape to its original state.
RevertAll public Revert layer to its original content.
(Overrides TGIS_Layer.RevertAll)
RevertShapes public Revert all shapes to its original state.
RootLayer public Return absolute parent layer.
(Inherited from TGIS_Layer)
SaveAll public Save layer and destroy mirrored items.
(Inherited from TGIS_Layer)
SaveData public Save layer and destroy mirrored items.
(Overrides TGIS_Layer.SaveData)
SetCSByEPSG public Setup Coordinate System to a coordinate system provided by EPSG code.
(Inherited from TGIS_Layer)
SetCSByWKT public Setup Coordinate System to a coordinate system provided by WKT string (GEOGCS or PROJCS).
(Inherited from TGIS_Layer)
SetCSByWKTFile public Setup Coordinate System to a coordinate system provided by file which contains 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 Unlock layer from burst-mode operation.
(Inherited from TGIS_Layer)
unlockRender protected Do after lockRender.
unlockThread protected Unlock thread.
(Inherited from TGIS_Layer)
Unproject public Apply reverse projection (recover from projection) on the single point.
(Inherited from TGIS_Layer)
Unproject3D public Apply reverse projection (recover from projection) on the single point in 3D.
(Inherited from TGIS_Layer)
Unproject3D_Ref public Apply reverse projection (recover from projection) on the single point in 3D.
(Inherited from TGIS_Layer)
unprojectExtent protected Unproject a given extent.
(Inherited from TGIS_Layer)
Unproject_Ref public Apply reverse projection (recover from projection) on the single point.
(Inherited from TGIS_Layer)
WriteConfig public Write layer configuration files.
(Inherited from TGIS_Layer)
WriteShapeDirect public Write a shape directly into the layer storage.

Properties

Inherited Protected
Name Visibility Description
Active public Is the Layer active? Active means that it can be visible, and that 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.
(Inherited from TGIS_Layer)
Basemap public True if layer must be interpreted as basemap (for background painting).
(Inherited from TGIS_Layer)
BlockRTree public If true, then UseRtree Rtree for the layer that cannot be enabled.
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 Is the Layer collapsed? Collapsed means that inside the legend only the layer's title will be visible.
(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 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 layer.
DefaultShapeType public Default shape type for 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 Layer driver name.
(Inherited from TGIS_Layer)
DynamicAggregator public Aggregation processor executed upon drawing process.
Extent public Extent of the layer.
(Inherited from TGIS_Layer)
Extent3D public Extent 3D of the layer.
(Inherited from TGIS_Layer)
Fields public List of database fields 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 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 layer is exportable.
(Inherited from TGIS_Layer)
IsLocked public True if layer is in Locked state.
(Inherited from TGIS_Layer)
IsOpened public True if layer is opened and is ready for operations.
(Inherited from TGIS_Layer)
IsPersistent public True if layer is persistent.
(Inherited from TGIS_Layer)
IsReadOnly public Is layer read only.
(Inherited from TGIS_Layer)
IsTopmost public True if layer can be interpreted as the topmost (trackable).
(Inherited from TGIS_Layer)
Items public 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.
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 Force multipass rendering.
MultiUserMode public Multiuser mode.
(Inherited from TGIS_Layer)
Name public Name of layer; if not filled directly then will be filled with Path when adding 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 sub layer.
(Inherited from TGIS_Layer)
Path public Path to file with layer data.
(Inherited from TGIS_Layer)
PathFLD public Path to fields definition ini file.
PathFLDX public Path to field rules file.
PathRTree public Path to RTree index.
PathWithDriver public Path to file with layer 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 selected shapes.
Statistics public Layer statistics engine
(Inherited from TGIS_Layer)
Stream public Reference to a potential layer underlying stream.
(Inherited from TGIS_Layer)
SubLayers public Sub layers list.
(Inherited from TGIS_Layer)
SubType public Sub layer type.
(Inherited from TGIS_Layer)
SupportedDimensions public Set of dimensions supported by a layer.
SupportedShapes public Set of shapes supported by a layer.
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.
(Inherited from TGIS_Layer)
UnSupportedOperations public Set of operations not supported by the layer.
(Inherited from TGIS_Layer)
UseConfig public Is config file 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 Set the use of an index based on RTree structure.
Viewer public Reference to viewer object.
(Inherited from TGIS_Layer)
ZOrder public Layer position relative to other layers.
(Inherited from TGIS_Layer)
ZOrderEx public Layer position relative to other 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 events.
PaintShapeLabelEvent public OnPaintShapeLabel events.
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 method)

Field name Description
GIS_FIELD_AREA Same as TGIS_Shape.AreaCS method or TGIS_Shape.Area method 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 method).
GIS_FIELD_CENTROID_Y Y coordinate of a shape's centroid (TGIS_Shape.Centroid method).
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 property
GIS_FIELD_LENGTH Same as TGIS_Shape.LengthCS method or TGIS_Shape.Length method if layer has no coordinate system assigned.
GIS_FIELD_MAX_X Maximum X coordinate of a shape. Same as XMax from TGIS_Shape.Extent property.
GIS_FIELD_MAX_Y Maximum Y coordinate of a shape. Same as YMax from TGIS_Shape.Extent property.
GIS_FIELD_MAX_M Maximum M coordinate of a 3D shape. Same as MMax from TGIS_Shape.Extent3D property.
GIS_FIELD_MAX_Z Maximum Z coordinate of a 3D shape. Same as ZMax from TGIS_Shape.Extent3D property.
GIS_FIELD_MIN_X Minimum X coordinate of a shape. Same as XMin from TGIS_Shape.Extent property.
GIS_FIELD_MIN_Y Minimum Y coordinate of a shape. Same as YMin from TGIS_Shape.Extent3D property.
GIS_FIELD_MIN_M Minimum M coordinate of a 3D shape. Same as MMin from TGIS_Shape.Extent3D property.
GIS_FIELD_MIN_Z Minimum Z coordinate of a 3D shape. Same as ZMin from TGIS_Shape.Extent3D property.
GIS_FIELD_NOW Current date & time.
GIS_FIELD_NUM_PARTS Same as TGIS_Shape.GetNumParts method
GIS_FIELD_NUM_POINTS Same as TGIS_Shape.GetNumPoints method
GIS_FIELD_SELECTED Same as TGIS_Shape.IsSelected property
GIS_FIELD_UID Same as TGIS_Shape.Uid property

References

2019/11/22 18:03