User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector_methods

TGIS_LayerVector methods

Methods

Inherited Overrides Protected
Name Visibility Description
AddField public Adds a new field.
AddFieldInternal(String; TGIS_FieldType; Integer; Integer) public Adds new field; for internal use.
AddFieldInternal(String; TGIS_FieldType; Integer; Integer; Boolean; Integer) public Adds new field; for internal use.
AddShape(TGIS_Shape) public Adds a copy of shape and makes it editable.
AddShape(TGIS_Shape; Boolean) public Adds a copy of shape and makes it editable.
Alive public Makes a layer non-dormant.
(Inherited from TGIS_Layer)
ApplyAutoStyle public Applies auto-styling to the layer.
(Overrides TGIS_Layer.ApplyAutoStyle)
applyConfigOptions protected Read config option parameters.
(Overrides TGIS_Layer.applyConfigOptions)
applyConfigProjection(TGIS_ConfigAbstract) protected Read config projection parameters.
(Inherited from TGIS_Layer)
applyConfigProjection(TGIS_ConfigAbstract; TGIS_Layer) protected Read config projection parameters.
(Inherited from TGIS_Layer)
ApplyCuttingPolygon public Sets a 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(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.
cursorFinish protected Notify about finishing reading inside a cursor.
cursorFirst protected Move to the first shape in the cursor.
cursorFirstInternal protected Move to the first shape in the Layer.
cursorInterrupt protected Notify about interrupting reading inside a cursor.
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)
DrawLabel public Draws layer labels.
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; Boolean) public Exports the layer.
ExportLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; TGIS_Shape; String; Boolean) 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.
FinalizeRead public Finalizes reading trying to close active queries.
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; Boolean) 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(TGIS_Uid) public Gets a shape by its unique identifier on default cursor (0).
GetShape(TGIS_Uid; Integer) public Gets a shape by unique identifier.
getShapePos protected Get shape using bisection.
getStatistics protected Parse label string (to expand fields etc.).
GetSubLayer public Retrieve the layer identified by a name.
(Inherited from TGIS_Layer)
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; Boolean) public Imports a layer from an existing layer.
ImportLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; TGIS_Shape; String; Boolean) 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)
isSectionInVisibilityRange protected Checks whether the section is visible by testing layer properties: Level with MinLevel/MaxLevel, ScaleAsFloat with MinScale/MaxScale, and Zoom with MinZoom/MaxZoom.
(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(Integer; Integer; TGIS_ParamsSectionVector) public Returns parameters filled with the renderer styling.
LegendInfo(Integer; TGIS_ParamsSectionVector) public Returns current parameters filled with the renderer styling.
legendRender protected Prepare colors and sizes for rendering the legend.
Locate(TGIS_Point; Double) public Locates a shape.
Locate(TGIS_Point; Double; Boolean) public Locates a shape.
LocateEx(TGIS_Point; Double; TGIS_Uid; Double; Integer; TGIS_Point) public Locates a shape (more precise).
LocateEx(TGIS_Point; Double; TGIS_Uid; Double; Integer; TGIS_Point; Boolean) public Locates a shape (more precise).
LocateEx(TGIS_Point; Double; TGIS_Uid; Double; Integer; TGIS_Point; Double; Boolean) 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.
LockRenderInternal public This method is used only for internal use on layer reading.
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; Boolean) public Prepares enumerator (also known as iterator or cursor) to iterate the layer.
MergeLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; Boolean; Boolean) public Merges layer from an existing layer.
MergeLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; TGIS_Shape; String; Boolean; Boolean) public Merges layer with an existing layer.
MergeLayerEx public Merges layer with an existing layer.
MergeStructure(TGIS_LayerVector; Boolean) public Merges the field structure from another layer.
MergeStructure(TGIS_LayerVector; Boolean; Boolean) 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(Integer) protected Move section specified by _idx to the top of the cached list.
(Inherited from TGIS_Layer)
optimizeParamsCache(Integer; Boolean) 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(Integer) public Prepares field names to export.
PrepareExportFieldNames(Integer; Boolean) public Prepares field names to export.
PrepareExportFieldNames(Integer; Boolean; Boolean) public Prepares field names to export.
PrepareExportFieldNames(Integer; Boolean; Boolean; Boolean) public Prepares field names to export.
PrepareParams public For internal use only.
(Inherited from TGIS_Layer)
prepareParamsCache protected Prepare cached section list meeting the _style name.
(Inherited from TGIS_Layer)
prepareParamsCache(String) protected Prepare cached section list meeting the _style name.
(Inherited from TGIS_Layer)
prepareRender protected Prepare colors and size for a shape using automatic renderer.
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)
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)
ReorderShapeUids public Internal method to rebuild shape's uid values and ensure ascending order.
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)
SaveFieldRules public Save field rules file.
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.
UnlockRenderInternal public This method is used only for internal use on layer reading.
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)
ViewerReParent public Sets viewer for the layer and its sublayers.
(Inherited from TGIS_Layer)
WriteConfig public Writes layer configuration files.
(Inherited from TGIS_Layer)
WriteShapeDirect public Writes a shape directly into storage.

2024/07/05 20:52

Page Tools