User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_layervector_methods



TGIS_LayerVector methods

Methods

Inherited Overrides Protected
Name Visibility Description
AddField public Adds a new attribute field definition to the layer schema.
AddFieldInternal(str, TGIS_FieldType, int, int) public Adds a new field definition using internal layer-loading logic.
AddFieldInternal(str, TGIS_FieldType, int, int, bool, int) public Adds a new field definition using internal layer-loading logic.
AddShape(TGIS_Shape) public Adds a shape to the layer by creating an editable copy of its geometry without copying attribute values.
AddShape(TGIS_Shape, bool) public Adds a shape to the layer by creating an editable copy, optionally copying attribute fields and values from the source shape.
Alive public Makes the layer non-dormant by restoring resources released by
(Inherited from TGIS_Layer)
ApplyAutoStyle public Applies auto-styling to the layer.
(Inherited from TGIS_Layer)
ApplyAutoStyle(bool) public Applies auto-styling to the layer.
(Inherited from TGIS_Layer)
ApplyCuttingPolygon public Sets a clipping polygon for the layer.
(Inherited from TGIS_Layer)
Build(str, TGIS_Extent, TGIS_ShapeType) public Initialize layer path, extent, and default coordinate dimensionality for a vector layer build operation.
Build(str, TGIS_Extent, TGIS_ShapeType, TGIS_DimensionType) public Initialize layer path, extent, and default coordinate dimensionality for a vector layer build operation.
CentroidScope public Calculates the centroid point for the first shape matching a SQL (Structured Query Language) WHERE clause, or returns a fallback point if no shape matches.
ChangeHash public Changes the hash used to verify layer modifications.
(Inherited from TGIS_Layer)
ClearModified public Clears the IsModified flag for a layer and its sublayers.
(Inherited from TGIS_Layer)
CreateShape(TGIS_ShapeType) public Creates a new empty shape with the specified geometry type by using the layer's default coordinate dimensionality.
CreateShape(TGIS_ShapeType, TGIS_DimensionType) public Creates a new empty shape with the specified geometry type and coordinate dimensionality.
Delete public Marks the shape with the specified unique identifier as deleted.
DeleteField public Marks a field in the layer schema as deleted.
Deselect public Deselects a single shape and removes it from the layer's selected shape set.
DeselectAll public Clears the selection state of all shapes in the layer.
Dormant public Makes the layer dormant by releasing resources to reduce memory consumption.
(Inherited from TGIS_Layer)
DormantGain public Calculates the approximate memory gain in megabytes that can be achieved by calling Dormant.
(Inherited from TGIS_Layer)
Draw public Draws the layer.
(Inherited from TGIS_Layer)
DrawChart public Renders all charts for the layer without redrawing full shape geometry.
DrawEx public Draws the layer within a defined extent.
(Inherited from TGIS_Layer)
DrawFlash public Draws a flash effect.
(Inherited from TGIS_Layer)
DrawLabel public Renders layer labels without redrawing full shape geometry.
DrawScope public Renders shapes that match a SQL (Structured Query Language)-like query using the specified named style.
DrawSelected public Draws only the selected items on the layer.
(Inherited from TGIS_Layer)
DrawSelectedEx public Draws only the selected items on the layer within a defined extent.
(Inherited from TGIS_Layer)
ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, str, bool) public Copy a subset of this layer to another layer using spatial and SQL filtering.
ExportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, str, TGIS_Shape, str, bool) public Export shapes with spatial and topological relationship filtering.
ExportLayerEx public Virtual export method with spatial and topological relationship filtering.
ExportStructureToFLD public Export field name mappings and formulas to an FLD field-definition file.
FieldInfo public Returns field metadata for the specified field or virtual-field identifier.
FinalizeDirectWrite public Finalize a direct-write operation.
FinalizeRead public Finalize layer read processing.
FindField public Finds a field index by name in the layer's field schema.
FindFieldInternal public Internal field lookup using the stored field name.
FindFirst public Initiates iteration by finding the first shape in the layer and prepares cursor state for subsequent FindNext calls.
FindFirst(TGIS_Extent) public Finds the first shape whose geometry intersects the specified extent, using an R-Tree spatial index when available.
FindFirst(TGIS_Extent, str) public Finds the first shape that matches both the specified spatial extent and the SQL-like attribute query, using an R-Tree index when available.
FindFirst(TGIS_Extent, str, TGIS_Shape, str) public Finds the first shape that matches the specified spatial extent, SQL-like attribute query, and DE-9IM topological relation.
FindFirst(TGIS_Extent, str, TGIS_Shape, str, bool) public Finds the first shape that matches the specified spatial extent, SQL-like attribute query, DE-9IM topological relation, and deleted-item visibility setting.
FindNext public Retrieves the next shape from the active FindFirst query cursor and continues iteration over shapes matching the original criteria.
FlashShape public Flashes a shape to visually highlight it for user feedback.
ForEach public Iterates shapes matching complex criteria and invokes a callback for each shape.
GetAvailableLayers public Gets the list of layers available in the underlying storage.
(Inherited from TGIS_Layer)
GetField public Retrieves an attribute field value for a shape by its unique identifier, converting Null or empty values to the field default value when possible.
GetFieldEx public Retrieves an attribute field value for a shape by unique identifier.
GetLastUid public Gets the highest unique identifier (UID) currently present in the layer.
GetNewUid public Allocates the next available unique identifier (UID) for a new shape.
GetSelectedCount public Returns the number of shapes currently selected in this layer.
GetShape(TGIS_Uid) public Retrieves a shape by its unique identifier (UID).
GetShape(TGIS_Uid, int) public Retrieves a shape by its unique identifier (UID) using the specified cursor context.
GetSubLayer public Retrieves the layer identified by name.
(Inherited from TGIS_Layer)
GetUniqueFieldName public Returns a unique field name that does not conflict with the current layer schema.
HourglassShake public Notifies about a busy state using an hourglass.
(Inherited from TGIS_Layer)
ImportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, str, bool) public Import shapes from another vector layer, optionally filtered by extent, target geometry type, and SQL (Structured Query Language) WHERE clause.
ImportLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, str, TGIS_Shape, str, bool) public Import shapes with spatial and topological relationship filtering.
ImportLayerEx public Import shapes from another layer using extent, SQL (Structured Query Language), and optional DE-9IM (Dimensionally Extended nine-Intersection Model) filtering.
ImportStructure public Import eligible field definitions from another vector layer into this layer.
InitializeDirectWrite public Initialize layer storage settings for direct-write output.
InvalidateScope public Invalidates shapes matching a SQL WHERE clause so they are redrawn.
InvalidateSelection public Invalidates the visual selection state.
IsGrid public Checks if the layer type is grid.
(Inherited from TGIS_Layer)
IsPixel public Checks if the layer type is pixel.
(Inherited from TGIS_Layer)
IsSupported public Checks whether the specified operation is supported by the layer.
(Inherited from TGIS_Layer)
IsTopology public Checks if the layer type is topology.
(Inherited from TGIS_Layer)
IsVector public Checks if the layer type is vector.
(Inherited from TGIS_Layer)
IsVector3D public Checks if the layer type is vector 3D.
(Inherited from TGIS_Layer)
IsVisible public Checks whether the layer is visible for the specified extent and the current display parameters.
(Inherited from TGIS_Layer)
LegendInfo(int, int, TGIS_ParamsSectionVector) public Retrieves rendering parameters and legend text for a specific legend section and zone identifier.
LegendInfo(int, TGIS_ParamsSectionVector) public Deprecated legend-information overload that forwards to the current section using the layer parameter object.
Locate(TGIS_Point, float) public Locates the nearest shape to a reference point within the specified tolerance distance.
Locate(TGIS_Point, float, bool) public Locates the nearest shape to a reference point within the specified tolerance distance, optionally limited to visible shapes.
LocateEx(TGIS_Point, float, TGIS_Uid, float, int, TGIS_Point) public Locates the nearest shape and returns additional hit-test details, including distance, part index, and projected point.
LocateEx(TGIS_Point, float, TGIS_Uid, float, int, TGIS_Point, bool) public Locates the nearest shape and returns additional hit-test details, with optional filtering to visible shapes only.
LocateEx(TGIS_Point, float, TGIS_Uid, float, int, TGIS_Point, float, bool) public Locates the nearest shape and returns raw and preference-adjusted hit-test distances together with part and projection details.
Lock public Locks the layer for batch updates.
(Inherited from TGIS_Layer)
Loop public Creates an enumerator factory for traversing all shapes in the layer.
Loop(TGIS_Extent) public Creates an enumerator factory for shapes intersecting the specified extent.
Loop(TGIS_Extent, str) public Creates an enumerator factory for shapes matching both the specified extent and the SQL-like attribute query.
Loop(TGIS_Extent, str, TGIS_Shape, str) public Creates an enumerator factory for shapes matching the specified extent, SQL-like attribute query, and DE-9IM topological relation.
Loop(TGIS_Extent, str, TGIS_Shape, str, bool) public Creates an enumerator factory for shapes matching the specified extent, SQL-like attribute query, DE-9IM relation, and deleted-item visibility setting.
MarkModified public Sets IsModified flag to true for a layer and its sublayers.
(Inherited from TGIS_Layer)
MergeLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, str, bool, bool) public Merge shapes from another layer while checking field schema compatibility.
MergeLayer(TGIS_LayerVector, TGIS_Extent, TGIS_ShapeType, str, TGIS_Shape, str, bool, bool) public Merge shapes with schema checking and topological relationship filtering.
MergeLayerEx public Merge shapes from another layer using schema checking, extent, SQL (Structured Query Language), and optional DE-9IM (Dimensionally Extended nine-Intersection Model) filtering.
MergeStructure(TGIS_LayerVector, bool) public Merge field definitions from another layer into this layer without removing existing fields.
MergeStructure(TGIS_LayerVector, bool, bool) public Merge field definitions from another layer with control over whether export names or internal names are used.
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 whether all statistics required to render the layer are available.
(Inherited from TGIS_Layer)
MustReproject public Checks whether the layer must be reprojected.
(Inherited from TGIS_Layer)
MustSave public Checks whether the layer has unsaved changes.
(Inherited from TGIS_Layer)
Open public Opens the layer.
(Inherited from TGIS_Layer)
Paint public Draws the layer or fires the PaintLayer event if it is assigned.
(Inherited from TGIS_Layer)
ParamsAsDrawn public Retrieves the effective rendering parameters currently used to draw a specific shape.
Prepare public Opens the layer for non-drawing operations.
(Inherited from TGIS_Layer)
PrepareExportFieldNames(int) public Prepares unique export field names with limited length.
PrepareExportFieldNames(int, bool) public Prepares export field names and controls whether all fields are reprocessed.
PrepareExportFieldNames(int, bool, bool) public Prepares export field names with optional uppercase conversion.
PrepareExportFieldNames(int, bool, bool, bool) public Prepares unique export field names with optional uppercase conversion and strict SQL (Structured Query Language)-safe naming.
PreRecognize public Checks whether the layer can recognize and read the specified file.
(Inherited from TGIS_Layer)
Project public Applies projection to a single point.
(Inherited from TGIS_Layer)
Project3D public Applies projection to a single 3D point.
(Inherited from TGIS_Layer)
Project3D_Ref public Applies projection to a single 3D point.
(Inherited from TGIS_Layer)
ProjectExtent public Applies a projection on the extent.
(Inherited from TGIS_Layer)
Project_Ref public Applies projection to a single point.
(Inherited from TGIS_Layer)
RaiseBusyEvent public Fires the layer busy event.
(Inherited from TGIS_Layer)
RaiseBusyPrepare public Calls the assigned viewer's BusyPrepare method.
(Inherited from TGIS_Layer)
RaiseBusyRelease public Calls the assigned viewer's BusyRelease method.
(Inherited from TGIS_Layer)
RaiseBusyShake public Calls the assigned viewer's BusyShake method.
(Inherited from TGIS_Layer)
ReadConfig public Reads the layer configuration files.
(Inherited from TGIS_Layer)
ReadConfigParam public Reads a layer configuration parameter.
(Inherited from TGIS_Layer)
ReadFieldDefinition public Read field rename mappings and formulas from the associated FLD field-definition file.
ReadFieldRules public Load field validation rules and related constraints from the FLDX rules file associated with the layer.
RecalcExtent public Updates the cached layer extent.
(Inherited from TGIS_Layer)
RecalcProjectedExtent public Recalculates the projected extent.
(Inherited from TGIS_Layer)
RenameField public Renames an existing field and can update its width and decimal settings.
ReOpen public Reopens the layer.
(Inherited from TGIS_Layer)
RereadConfig public Rereads the layer configuration files.
(Inherited from TGIS_Layer)
Revert public Reverts a single shape from the current in-memory edit collection.
RevertAll public Reverts the layer to its original content.
(Inherited from TGIS_Layer)
RevertShapes public Reverts all pending shape edits by processing every current shape entry and then clearing the item list.
RootLayer public Returns the topmost parent layer in the layer hierarchy.
(Inherited from TGIS_Layer)
SaveAll public Persists all layer state including data, configuration, and active transforms; releases cached copies.
(Inherited from TGIS_Layer)
SaveData public Persists layer data (geometry and attributes) and releases cached copies.
(Inherited from TGIS_Layer)
SaveFieldRules public Save field validation rules and related constraints to the FLDX rules file associated with the layer.
SetCSByEPSG public Sets the coordinate system using an EPSG (European Petroleum Survey Group) code.
(Inherited from TGIS_Layer)
SetCSByWKT public Sets the coordinate system from a WKT (Well-Known Text) string containing a GEOGCS or PROJCS definition.
(Inherited from TGIS_Layer)
SetCSByWKTFile public Sets the coordinate system from a file containing a WKT (Well-Known Text) string, such as a Shapefile .PRJ file.
(Inherited from TGIS_Layer)
Unlock public Unlocks the layer after batch updates.
(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 to a single 3D point.
(Inherited from TGIS_Layer)
Unproject3D_Ref public Applies reverse projection to a single 3D point.
(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 to a single point.
(Inherited from TGIS_Layer)
ViewerReParent public Sets the viewer for the layer and its sublayers.
(Inherited from TGIS_Layer)
WriteConfig public Writes the layer configuration files.
(Inherited from TGIS_Layer)
WriteShapeDirect public Writes a shape directly to the layer by calling AddShape.

2026/10/31 22:50

Page Tools