User Tools

Site Tools


api:dk11:delphi:gislayertab.tgis_layertab



TGIS_LayerTAB class

DK for Delphi | GisLayerTAB.TGIS_LayerTAB | Classes | Constructors | Fields | Methods | Properties

Vector layer for reading and writing MapInfo TAB datasets, including TAB, MAP, DAT, DBF (dBASE File), and ID companion files.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
type
  TGIS_LayerTAB = class( TGIS_LayerVector )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_LayerTAB : public TGIS_LayerVector
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create a vector layer instance with default settings.
(Overrides TGIS_LayerVector.Create)
Create(String) public Creates a layer and sets the Path property.
(Inherited from TGIS_Layer)

Fields

Inherited Protected
Name Visibility Description
bIgnoreShapeParams protected Internal status of IgnoreShapeParams property.
(Inherited from TGIS_LayerVector)
cursorState protected Array containing the complete state for all active cursors.
(Inherited from TGIS_LayerVector)
cursorStateStore protected Array containing the complete state for all active cursors.
(Inherited from TGIS_LayerVector)
FActive protected True if the layer is active.
(Inherited from TGIS_Layer)
FAddition protected Additional integer property value.
(Inherited from TGIS_Layer)
FAge protected Layer age value storing the last modification timestamp.
(Inherited from TGIS_Layer)
FBasemap protected True if the layer is interpreted as a basemap.
(Inherited from TGIS_Layer)
FBasemapDraw protected True if the layer is currently being drawn inside a basemap thread.
(Inherited from TGIS_Layer)
FBlockRTree protected True if enabling the R-Tree spatial index is blocked for this layer.
(Inherited from TGIS_LayerVector)
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 is stored.
(Inherited from TGIS_Layer)
FCodePageForced protected Code page forced by the project file or property setting.
(Inherited from TGIS_Layer)
FCollapsed protected True if the layer is collapsed in the legend hierarchy.
(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 Layer CRS (Coordinate Reference System) object.
(Inherited from TGIS_Layer)
FCustomData protected List of custom string data associated with the layer.
(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 in map coordinates.
(Inherited from TGIS_Layer)
FExtent3D protected Three-dimensional layer extent in map coordinates.
(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, pixel count, and copyright.
(Inherited from TGIS_Layer)
FGUID protected Unique layer identifier.
(Inherited from TGIS_Layer)
FHideFromLegend protected True if layer should not be visible in a legend.
(Inherited from TGIS_Layer)
FIcon protected Layer icon displayed in the legend.
(Inherited from TGIS_Layer)
findSmartSizeFactor protected SmartSize scaling factor used to convert between projected and unprojected sizes.
(Inherited from TGIS_LayerVector)
FInMemoryRTree protected True if the R-Tree spatial index is created in memory instead of on disk.
(Inherited from TGIS_LayerVector)
FInPaint protected True while the layer is in the paint process.
(Inherited from TGIS_Layer)
FIsLocked protected True if the layer is in the locked state.
(Inherited from TGIS_Layer)
FIsModified protected True if the layer structure or geometry has been modified.
(Inherited from TGIS_Layer)
FIsOpened protected True if the layer has been opened.
(Inherited from TGIS_Layer)
FIsPrepared protected True if the layer has been prepared.
(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 access mode for the layer.
(Inherited from TGIS_Layer)
FName protected Layer name.
(Inherited from TGIS_Layer)
FOnBusy protected Busy event fired regularly during long-running operations.
(Inherited from TGIS_Layer)
FOnCursorAfterFetch protected CursorAfterFetch event fired after data is fetched by cursorFirst.
(Inherited from TGIS_LayerVector)
FOnCursorBeforeFetch protected CursorBeforeFetch event fired before data is fetched by cursorFirst.
(Inherited from TGIS_LayerVector)
FOnCursorClose protected CursorClose event fired when a cursor is closed.
(Inherited from TGIS_LayerVector)
FOnCursorInterrupt protected CursorInterrupt event fired after cursor reading is interrupted.
(Inherited from TGIS_LayerVector)
FOnCursorOpen protected CursorOpen event fired when a cursor is opened.
(Inherited from TGIS_LayerVector)
FOnCursorShapeFetch protected CursorShapeFetch event fired after a shape is fetched.
(Inherited from TGIS_LayerVector)
FOnLabelPos protected ShapeLabelPos event fired before label placement is finalized.
(Inherited from TGIS_LayerVector)
FOnPaintLayer protected PaintLayer event fired during Paint and related drawing operations.
(Inherited from TGIS_Layer)
FOnPaintShape protected PaintShape event fired during TGIS_Shape.Paint for each rendered shape.
(Inherited from TGIS_LayerVector)
FOnPaintShapeChart protected PaintShapeChart event fired during TGIS_Shape.PaintChart for each rendered chart.
(Inherited from TGIS_LayerVector)
FOnPaintShapeLabel protected PaintShapeLabel event fired during TGIS_Shape.PaintLabel for each rendered label.
(Inherited from TGIS_LayerVector)
FOnPassword protected Fired when opening a layer to resolve required user name or password values.
(Inherited from TGIS_Layer)
FOnRead protected Fired for each file read request.
(Inherited from TGIS_Layer)
FOnShapeFieldChange protected ShapeFieldChange event fired after a shape field value changes.
(Inherited from TGIS_LayerVector)
FOnShapeGeometryChange protected ShapeGeometryChange event fired after shape geometry changes.
(Inherited from TGIS_LayerVector)
FOnWrite protected Fired for each file write request.
(Inherited from TGIS_Layer)
forceCachedMode protected Set to True to force drawing through the cached bitmap path.
(Inherited from TGIS_Layer)
FOverlappedExtentMargin protected Overlapped extent margin.
(Inherited from TGIS_Layer)
FParamsList protected List of parameter sets grouped by section.
(Inherited from TGIS_Layer)
FParentLayer protected Parent layer.
(Inherited from TGIS_Layer)
FPath protected Layer path.
(Inherited from TGIS_Layer)
FPixelsPerInch protected Pixel density used to avoid improper ZoomEx behavior on printer and similar output devices.
(Inherited from TGIS_LayerVector)
FProjectedExtent protected Cached projected extent.
(Inherited from TGIS_Layer)
FProjectedExtentBase protected Cached projected extent base extent in unprojected layer coordinates.
(Inherited from TGIS_Layer)
FProjectedExtentEPSG protected Cached projected extent layer CRS (Coordinate Reference System) context.
(Inherited from TGIS_Layer)
FProjectedExtentRotationAngle protected Cached projected extent rotation angle context.
(Inherited from TGIS_Layer)
FProjectedExtentRotationPoint protected Cached projected extent rotation point context.
(Inherited from TGIS_Layer)
FProjectedExtentViewerEPSG protected Cached projected extent viewer CRS (Coordinate Reference System) context.
(Inherited from TGIS_Layer)
FRenderer protected Handle to a renderer used for drawing shapes.
(Inherited from TGIS_Layer)
FRTreeFile protected R-Tree-based spatial index.
(Inherited from TGIS_LayerVector)
FSelectedList protected List of UIDs of selected shapes.
(Inherited from TGIS_LayerVector)
FStatistics protected Statistics engine.
(Inherited from TGIS_Layer)
FStream protected Reference to a possible stream backing the layer data source.
(Inherited from TGIS_Layer)
FSubLayers protected List of child sublayers contained by this layer.
(Inherited from TGIS_Layer)
FSubType protected Sublayer type flags for this layer.
(Inherited from TGIS_Layer)
FSupportedDimensions protected Set of dimensions supported by a layer.
(Inherited from TGIS_LayerVector)
FSupportedShapes protected Set of shapes supported by a layer.
(Inherited from TGIS_LayerVector)
FSupportsAsync protected Indicates whether the layer implements asynchronous operations.
(Inherited from TGIS_Layer)
FSupportsAutoStyle protected Indicates whether the layer supports auto styling.
(Inherited from TGIS_Layer)
FSupportsTiledPaint protected Indicates whether the layer supports tiled paint.
(Inherited from TGIS_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)
FTileable protected True if the layer is currently printed or exported using tiles.
(Inherited from TGIS_Layer)
FTiledDrawMode protected Current tiled draw mode used while drawing in a basemap thread.
(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 the layer.
(Inherited from TGIS_Layer)
FUseConfig protected True if configuration file support is enabled.
(Inherited from TGIS_Layer)
FUserObject protected User object owned by the layer and destroyed when the layer is destroyed or when replaced.
(Inherited from TGIS_Layer)
FUseRTree protected True if the R-Tree spatial index is enabled for the opened layer.
(Inherited from TGIS_LayerVector)
FViewer protected Reference to viewer object.
(Inherited from TGIS_Layer)
inDraw protected True while layer drawing is still in progress to avoid circular drawing calls.
(Inherited from TGIS_Layer)
oldMarkerPoint protected Previous marker point screen coordinates, used to filter duplicate point drawing.
(Inherited from TGIS_LayerVector)
paramsCache protected List of cached parameter sections prepared for rendering.
(Inherited from TGIS_Layer)
paramsCacheUpdated protected True if cached parameters are ready for rendering.
(Inherited from TGIS_Layer)
View3D public 3D representation settings for the layer.
(Inherited from TGIS_Layer)

Methods

Inherited Overrides Protected
Name Visibility Description
AddField public Adds a new attribute field definition to the layer schema.
(Inherited from TGIS_LayerVector)
AddFieldInternal(String; TGIS_FieldType; Integer; Integer) public Adds a new field definition using internal layer-loading logic.
(Inherited from TGIS_LayerVector)
AddFieldInternal(String; TGIS_FieldType; Integer; Integer; Boolean; Integer) public Adds a new field definition using internal layer-loading logic.
(Inherited from TGIS_LayerVector)
AddShape(TGIS_Shape) public Adds a shape to the layer by creating an editable copy of its geometry without copying attribute values.
(Inherited from TGIS_LayerVector)
AddShape(TGIS_Shape; Boolean) public Adds a shape to the layer by creating an editable copy, optionally copying attribute fields and values from the source shape.
(Inherited from TGIS_LayerVector)
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(Boolean) public Applies auto-styling to the layer.
(Inherited from TGIS_Layer)
applyConfigOptions protected Applies layer option settings from a configuration file.
(Inherited from TGIS_LayerVector)
applyConfigProjection(TGIS_ConfigAbstract) protected Applies projection settings from a configuration file.
(Inherited from TGIS_Layer)
applyConfigProjection(TGIS_ConfigAbstract; TGIS_Layer) protected Applies projection settings from a configuration file.
(Inherited from TGIS_Layer)
ApplyCuttingPolygon public Sets a clipping polygon for the layer.
(Inherited from TGIS_Layer)
bindField protected Obtain the bind index for a field name.
(Inherited from TGIS_LayerVector)
bindFieldInternal protected Obtain the bind index for a field name.
(Inherited from TGIS_LayerVector)
BindSqlQueryInternal public Binds layer callbacks to an internal SQL (Structured Query Language) query object used for field access and statistics.
(Inherited from TGIS_LayerVector)
Build(String; TGIS_Extent; TGIS_ShapeType) public Initialize layer path, extent, and default coordinate dimensionality for a vector layer build operation.
(Inherited from TGIS_LayerVector)
Build(String; TGIS_Extent; TGIS_ShapeType; TGIS_DimensionType) public Initialize layer path, extent, and default coordinate dimensionality for a vector layer build operation.
(Overrides TGIS_LayerVector.Build)
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.
(Inherited from TGIS_LayerVector)
ChangeHash public Changes the hash used to verify layer modifications.
(Inherited from TGIS_Layer)
checkParamsCache protected Check whether cached parameter sections select a visible renderer section for a shape.
(Inherited from TGIS_LayerVector)
ClearModified public Clears the IsModified flag for a layer and its sublayers.
(Inherited from TGIS_Layer)
CloseFiles public Close internal TAB dataset files (MAP, ID, and DAT/DBF), releasing file handles without destroying the layer object.
CreateShape(TGIS_ShapeClass) public Creates a new editable shape instance from the specified TGIS_Shape descendant class.
(Inherited from TGIS_LayerVector)
CreateShape(TGIS_ShapeType) public Creates a new empty shape with the specified geometry type by using the layer's default coordinate dimensionality.
(Inherited from TGIS_LayerVector)
CreateShape(TGIS_ShapeType; TGIS_DimensionType) public Creates a new empty shape with the specified geometry type and coordinate dimensionality.
(Inherited from TGIS_LayerVector)
cursorClose protected Release a cursor and free its associated resources.
(Overrides TGIS_LayerVector.cursorClose)
cursorEof protected Test whether the cursor has reached the end of the current iteration result set.
(Overrides TGIS_LayerVector.cursorEof)
cursorEofInternal protected Internal variant of cursorEof.
(Inherited from TGIS_LayerVector)
cursorFindFirst protected Find the first shape matching extent, query, and DE-9IM spatial predicate filters.
(Inherited from TGIS_LayerVector)
cursorFindNext protected Return the next shape matching the criteria established by cursorFindFirst().
(Inherited from TGIS_LayerVector)
cursorFinish protected Complete cursor processing.
(Inherited from TGIS_LayerVector)
cursorFirst protected Initialize a cursor to the first shape matching extent, query, and DE-9IM spatial predicate filters.
(Overrides TGIS_LayerVector.cursorFirst)
cursorFirstInternal protected Internal variant of cursorFirst.
(Inherited from TGIS_LayerVector)
cursorInterrupt protected Interrupt the current cursor operation before normal completion.
(Inherited from TGIS_LayerVector)
cursorNext protected Advance the cursor to the next shape matching the current filter criteria.
(Overrides TGIS_LayerVector.cursorNext)
cursorNextInternal protected Internal variant of cursorNext.
(Inherited from TGIS_LayerVector)
cursorOpen protected Allocates and initializes a new cursor for vector-layer iteration.
(Overrides TGIS_LayerVector.cursorOpen)
cursorShape protected Return the shape at the current cursor position.
(Overrides TGIS_LayerVector.cursorShape)
cursorShapeEx protected Return the current shape and associate it with the specified cursor.
(Inherited from TGIS_LayerVector)
cursorShapeInternal protected Internal variant of cursorShape.
(Inherited from TGIS_LayerVector)
cursorStateRestore protected Restore the cursor to the previously saved state.
(Inherited from TGIS_LayerVector)
cursorStateSave protected Save the current cursor state for later restoration.
(Inherited from TGIS_LayerVector)
Delete public Marks the shape with the specified unique identifier as deleted.
(Inherited from TGIS_LayerVector)
DeleteField public Marks a field in the layer schema as deleted.
(Inherited from TGIS_LayerVector)
Deselect public Deselects a single shape and removes it from the layer's selected shape set.
(Inherited from TGIS_LayerVector)
DeselectAll public Clears the selection state of all shapes in the layer.
(Inherited from TGIS_LayerVector)
doApplyAutoStyle protected
(Inherited from TGIS_LayerVector)
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.
(Inherited from TGIS_LayerVector)
DrawEx public Draws the layer within a defined extent.
(Inherited from TGIS_LayerVector)
drawExtent protected Calculates the device drawing and clipping extent.
(Inherited from TGIS_Layer)
drawExtentEx protected Calculates the device drawing and clipping extent.
(Inherited from TGIS_Layer)
DrawFlash public Renders all shapes currently queued for flashing.
(Inherited from TGIS_LayerVector)
DrawLabel public Renders layer labels without redrawing full shape geometry.
(Inherited from TGIS_LayerVector)
DrawScope public Renders shapes that match a SQL (Structured Query Language)-like query using the specified named style.
(Inherited from TGIS_LayerVector)
DrawSelected public Draws only the selected items on the layer.
(Inherited from TGIS_Layer)
DrawSelectedEx public
(Inherited from TGIS_LayerVector)
DrawSpecial public Draws the visible part of the layer using the supplied renderer.
(Inherited from TGIS_LayerVector)
ExportLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; Boolean) public Copy a subset of this layer to another layer using spatial and SQL filtering.
(Inherited from TGIS_LayerVector)
ExportLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; TGIS_Shape; String; Boolean) public Export shapes with spatial and topological relationship filtering.
(Inherited from TGIS_LayerVector)
ExportLayerEx public Virtual export method with spatial and topological relationship filtering.
(Inherited from TGIS_LayerVector)
ExportStructureToFLD public Export field name mappings and formulas to an FLD field-definition file.
(Inherited from TGIS_LayerVector)
FieldInfo public Returns field metadata for the specified field or virtual-field identifier.
(Inherited from TGIS_LayerVector)
FinalizeDirectWrite public Finalize a direct-write operation.
(Inherited from TGIS_LayerVector)
FinalizeRead public Finalize layer read processing.
(Inherited from TGIS_LayerVector)
FindField public Finds a field index by name in the layer's field schema.
(Inherited from TGIS_LayerVector)
FindFieldInternal public Internal field lookup using the stored field name.
(Inherited from TGIS_LayerVector)
FindFirst public Initiates iteration by finding the first shape in the layer and prepares cursor state for subsequent FindNext calls.
(Inherited from TGIS_LayerVector)
FindFirst(TGIS_Extent) public Finds the first shape whose geometry intersects the specified extent, using an R-Tree spatial index when available.
(Inherited from TGIS_LayerVector)
FindFirst(TGIS_Extent; String) 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.
(Inherited from TGIS_LayerVector)
FindFirst(TGIS_Extent; String; TGIS_Shape; String) public Finds the first shape that matches the specified spatial extent, SQL-like attribute query, and DE-9IM topological relation.
(Inherited from TGIS_LayerVector)
FindFirst(TGIS_Extent; String; TGIS_Shape; String; Boolean) public Finds the first shape that matches the specified spatial extent, SQL-like attribute query, DE-9IM topological relation, and deleted-item visibility setting.
(Inherited from TGIS_LayerVector)
FindNext public Retrieves the next shape from the active FindFirst query cursor and continues iteration over shapes matching the original criteria.
(Inherited from TGIS_LayerVector)
FlashShape public Flashes a shape to visually highlight it for user feedback.
(Inherited from TGIS_LayerVector)
ForEach public Iterates shapes matching complex criteria and invokes a callback for each shape.
(Inherited from TGIS_LayerVector)
ForEachSubLayer public Calls the callback for the layer and all of its sublayers.
(Inherited from TGIS_Layer)
GetAvailableLayers public Gets the list of layers available in the underlying storage.
(Inherited from TGIS_LayerVector)
getBindedField protected Get a field value using a bound field identifier.
(Inherited from TGIS_LayerVector)
getBindedFieldInternal protected Get an internal field value using a bound field identifier.
(Overrides TGIS_LayerVector.getBindedFieldInternal)
getEdited protected Get the current edited or aggregated instance of a shape when available.
(Inherited from TGIS_LayerVector)
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.
(Inherited from TGIS_LayerVector)
GetFieldEx public Retrieves an attribute field value for a shape by unique identifier.
(Inherited from TGIS_LayerVector)
getFieldInternal protected Get an internal field value for a shape identified by unique identifier.
(Overrides TGIS_LayerVector.getFieldInternal)
GetLastUid public Gets the highest unique identifier (UID) currently present in the layer.
(Overrides TGIS_LayerVector.GetLastUid)
GetNewUid public Allocates the next available unique identifier (UID) for a new shape.
(Overrides TGIS_LayerVector.GetNewUid)
GetSelectedCount public Returns the number of shapes currently selected in this layer.
(Inherited from TGIS_LayerVector)
GetShape(TGIS_Uid) public Retrieves a shape by its unique identifier (UID).
(Inherited from TGIS_LayerVector)
GetShape(TGIS_Uid; Integer) public Retrieves a shape by its unique identifier (UID) using the specified cursor context.
(Overrides TGIS_LayerVector.GetShape)
getShapePos protected Locate a shape by its unique identifier using binary search.
(Inherited from TGIS_LayerVector)
getStatistics protected Get a cached statistical value for a field or request that the statistic be calculated.
(Inherited from TGIS_LayerVector)
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.
(Inherited from TGIS_LayerVector)
HourglassShake public Notifies about a busy state using an hourglass.
(Inherited from TGIS_Layer)
ImportLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; Boolean) public Import shapes from another vector layer, optionally filtered by extent, target geometry type, and SQL (Structured Query Language) WHERE clause.
(Inherited from TGIS_LayerVector)
ImportLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; TGIS_Shape; String; Boolean) public Import shapes with spatial and topological relationship filtering.
(Inherited from TGIS_LayerVector)
ImportLayerEx public Import shapes from another layer using extent, SQL (Structured Query Language), and optional DE-9IM (Dimensionally Extended nine-Intersection Model) filtering.
(Overrides TGIS_LayerVector.ImportLayerEx)
ImportStructure public Import eligible field definitions from another vector layer into this layer.
(Inherited from TGIS_LayerVector)
InitializeDirectWrite public Initialize layer storage settings for direct-write output.
(Inherited from TGIS_LayerVector)
InvalidateScope public Invalidates shapes matching a SQL WHERE clause so they are redrawn.
(Inherited from TGIS_LayerVector)
InvalidateSelection public Invalidates the visual selection state.
(Inherited from TGIS_LayerVector)
IsGrid public Checks if the layer type is grid.
(Inherited from TGIS_Layer)
isInScope protected Test whether a shape is inside the current cursor scope.
(Inherited from TGIS_LayerVector)
IsPixel public Checks if the layer type is pixel.
(Inherited from TGIS_Layer)
isSectionInVisibilityRange protected Checks whether a parameter section is visible for the current layer Level, ScaleAsFloat, and Zoom settings.
(Inherited from TGIS_Layer)
isShapeVisible protected Test whether a shape is visible within the specified extent.
(Inherited from TGIS_LayerVector)
isSublayer protected Checks whether the layer belongs to another layer as a sublayer.
(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
(Inherited from TGIS_LayerVector)
IsVector3D public
(Inherited from TGIS_LayerVector)
IsVisible public Checks whether the layer is visible for the specified extent and the current display parameters.
(Inherited from TGIS_Layer)
LegendInfo(Integer; Integer; TGIS_ParamsSectionVector) public Retrieves rendering parameters and legend text for a specific legend section and zone identifier.
(Inherited from TGIS_LayerVector)
LegendInfo(Integer; TGIS_ParamsSectionVector) public Deprecated legend-information overload that forwards to the current section using the layer parameter object.
(Inherited from TGIS_LayerVector)
legendRender protected Prepare legend styling for the specified renderer section.
(Inherited from TGIS_LayerVector)
Locate(TGIS_Point; Double) public Locates the nearest shape to a reference point within the specified tolerance distance.
(Inherited from TGIS_LayerVector)
Locate(TGIS_Point; Double; Boolean) public Locates the nearest shape to a reference point within the specified tolerance distance, optionally limited to visible shapes.
(Inherited from TGIS_LayerVector)
LocateEx(TGIS_Point; Double; TGIS_Uid; Double; Integer; TGIS_Point) public Locates the nearest shape and returns additional hit-test details, including distance, part index, and projected point.
(Inherited from TGIS_LayerVector)
LocateEx(TGIS_Point; Double; TGIS_Uid; Double; Integer; TGIS_Point; Boolean) public Locates the nearest shape and returns additional hit-test details, with optional filtering to visible shapes only.
(Inherited from TGIS_LayerVector)
LocateEx(TGIS_Point; Double; TGIS_Uid; Double; Integer; TGIS_Point; Double; Boolean) public Locates the nearest shape and returns raw and preference-adjusted hit-test distances together with part and projection details.
(Inherited from TGIS_LayerVector)
Lock public Locks the layer for batch updates.
(Inherited from TGIS_Layer)
lockRender protected Lock the rendering context and apply renderer-derived visual parameters for a shape.
(Inherited from TGIS_LayerVector)
LockRenderInternal public Acquires the layer's internal render lock.
(Inherited from TGIS_LayerVector)
lockThread protected Locks the layer for thread-synchronized access.
(Inherited from TGIS_Layer)
Loop public Creates an enumerator factory for traversing all shapes in the layer.
(Inherited from TGIS_LayerVector)
Loop(TGIS_Extent) public Creates an enumerator factory for shapes intersecting the specified extent.
(Inherited from TGIS_LayerVector)
Loop(TGIS_Extent; String) public Creates an enumerator factory for shapes matching both the specified extent and the SQL-like attribute query.
(Inherited from TGIS_LayerVector)
Loop(TGIS_Extent; String; TGIS_Shape; String) public Creates an enumerator factory for shapes matching the specified extent, SQL-like attribute query, and DE-9IM topological relation.
(Inherited from TGIS_LayerVector)
Loop(TGIS_Extent; String; TGIS_Shape; String; Boolean) public Creates an enumerator factory for shapes matching the specified extent, SQL-like attribute query, DE-9IM relation, and deleted-item visibility setting.
(Inherited from TGIS_LayerVector)
MarkAsProxy public Marks the layer to be used as a proxy layer.
(Inherited from TGIS_Layer)
MarkModified public Sets IsModified flag to true for a layer and its sublayers.
(Inherited from TGIS_Layer)
MergeLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; Boolean; Boolean) public Merge shapes from another layer while checking field schema compatibility.
(Inherited from TGIS_LayerVector)
MergeLayer(TGIS_LayerVector; TGIS_Extent; TGIS_ShapeType; String; TGIS_Shape; String; Boolean; Boolean) public Merge shapes with schema checking and topological relationship filtering.
(Inherited from TGIS_LayerVector)
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.
(Inherited from TGIS_LayerVector)
MergeStructure(TGIS_LayerVector; Boolean) public Merge field definitions from another layer into this layer without removing existing fields.
(Inherited from TGIS_LayerVector)
MergeStructure(TGIS_LayerVector; Boolean; Boolean) public Merge field definitions from another layer with control over whether export names or internal names are used.
(Inherited from TGIS_LayerVector)
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
(Inherited from TGIS_LayerVector)
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_LayerVector)
nextCandidate protected Retrieve and remove the next candidate shape from the prepared candidate list.
(Inherited from TGIS_LayerVector)
Open public Opens the layer.
(Inherited from TGIS_Layer)
OpenAsync public Opens the layer asynchronously.
(Inherited from TGIS_Layer)
optimizeParamsCache(Integer) protected Moves the specified section to the top of the cached list.
(Inherited from TGIS_Layer)
optimizeParamsCache(Integer; Boolean) protected Moves the specified section to the top of the cached list.
(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.
(Inherited from TGIS_LayerVector)
Prepare public Opens the layer for non-drawing operations.
(Inherited from TGIS_Layer)
prepareCandidates protected Build the candidate shape list used for cursor scope evaluation.
(Inherited from TGIS_LayerVector)
PrepareExportFieldNames(Integer) public Prepares unique export field names with limited length.
(Inherited from TGIS_LayerVector)
PrepareExportFieldNames(Integer; Boolean) public Prepares export field names and controls whether all fields are reprocessed.
(Inherited from TGIS_LayerVector)
PrepareExportFieldNames(Integer; Boolean; Boolean) public Prepares export field names with optional uppercase conversion.
(Inherited from TGIS_LayerVector)
PrepareExportFieldNames(Integer; Boolean; Boolean; Boolean) public Prepares unique export field names with optional uppercase conversion and strict SQL (Structured Query Language)-safe naming.
(Inherited from TGIS_LayerVector)
PrepareForExport public Prepares layer for export.
(Inherited from TGIS_Layer)
PrepareParams public Prepares cached rendering parameters for internal use.
(Inherited from TGIS_Layer)
prepareParamsCache protected Prepares the cached section list for rendering.
(Inherited from TGIS_Layer)
prepareParamsCache(String) protected Prepares the cached section list for the specified style.
(Inherited from TGIS_Layer)
prepareRender protected Compute rendering colors and sizes for a shape using automatic renderer rules.
(Inherited from TGIS_LayerVector)
PreRecognize public Checks whether the layer can recognize and read the specified file.
(Overrides TGIS_Layer.PreRecognize)
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)
queueFlash protected Add a shape to the flash queue used for temporary visual highlighting.
(Inherited from TGIS_LayerVector)
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.
(Inherited from TGIS_LayerVector)
ReadFieldRules public Load field validation rules and related constraints from the FLDX rules file associated with the layer.
(Inherited from TGIS_LayerVector)
RecalcExtent public Recalculates the layer extent from non-deleted shapes currently available through the layer cursor.
(Inherited from TGIS_LayerVector)
RecalcProjectedExtent public Recalculates the projected extent.
(Inherited from TGIS_Layer)
releaseFlash protected Remove a shape from the flash queue used for temporary visual highlighting.
(Inherited from TGIS_LayerVector)
removeCandidate protected Remove a shape from the current cursor candidate list.
(Inherited from TGIS_LayerVector)
RenameField public Renames an existing field and can update its width and decimal settings.
(Inherited from TGIS_LayerVector)
ReOpen public Reopens the layer.
(Inherited from TGIS_Layer)
ReorderShapeUids public Rebuilds shape UIDs to restore ascending consecutive order after the Items list has been reordered.
(Inherited from TGIS_LayerVector)
RereadConfig public Rereads the layer configuration files.
(Inherited from TGIS_Layer)
resetMustReproject protected Resets the MustReproject state.
(Inherited from TGIS_Layer)
Revert public Reverts a single shape from the current in-memory edit collection.
(Inherited from TGIS_LayerVector)
RevertAll public
(Inherited from TGIS_LayerVector)
RevertShapes public Reverts all pending shape edits by processing every current shape entry and then clearing the item list.
(Overrides TGIS_LayerVector.RevertShapes)
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.
(Overrides TGIS_LayerVector.SaveData)
SaveFieldRules public Save field validation rules and related constraints to the FLDX rules file associated with the layer.
(Inherited from TGIS_LayerVector)
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)
setUp protected Performs the first general layer setup step.
(Overrides TGIS_LayerVector.setUp)
setUp2 protected
(Inherited from TGIS_LayerVector)
setUp3 protected
(Inherited from TGIS_LayerVector)
setUpAsync protected Performs the first general layer setup step asynchronously.
(Inherited from TGIS_Layer)
storeConfigOptions protected Stores layer option settings in a configuration file.
(Inherited from TGIS_LayerVector)
transformExtent protected Transforms an extent using the custom transformation.
(Inherited from TGIS_Layer)
Unlock public Unlocks the layer after batch updates.
(Inherited from TGIS_Layer)
unlockRender protected Release the rendering lock acquired by lockRender().
(Inherited from TGIS_LayerVector)
UnlockRenderInternal public Releases the layer's internal render lock.
(Inherited from TGIS_LayerVector)
unlockThread protected Releases the lock used for thread-synchronized layer access.
(Inherited from TGIS_Layer)
UnprepareForExport public Finalizes export initialized with PrepareForExport.
(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.
(Inherited from TGIS_LayerVector)

Properties

Inherited Protected
Name Visibility Description
Active public True if the layer is visible and can be localized.
(Inherited from TGIS_Layer)
Addition public Additional blending value used together with Transparency.
(Inherited from TGIS_Layer)
Age public Layer age value or last setup timestamp.
(Inherited from TGIS_Layer)
Basemap public True if the layer must be treated as a basemap for background painting.
(Inherited from TGIS_Layer)
BasemapDraw public True if the layer is currently being drawn in a basemap thread.
(Inherited from TGIS_Layer)
BlockRTree public Blocks use of the R-Tree spatial index for this layer even when UseRTree is enabled.
(Inherited from TGIS_LayerVector)
CachedPaint public False if the layer must be painted directly, bypassing the cache.
(Inherited from TGIS_Layer)
Caption public Layer caption; if not assigned directly, it will be filled with Name when the layer is added to the viewer.
(Inherited from TGIS_Layer)
CodePage public Code page used to store text.
(Inherited from TGIS_Layer)
Collapsed public True if the layer is collapsed in the legend, meaning only the layer title is visible.
(Inherited from TGIS_Layer)
Comments public Additional user comments associated with the layer.
(Inherited from TGIS_Layer)
ConfigFile public Configuration file object associated with the layer.
(Inherited from TGIS_Layer)
ConfigName public Configuration file name.
(Inherited from TGIS_Layer)
CS public Coordinate Reference System (CRS) assigned to the layer.
(Inherited from TGIS_Layer)
CustomData public List of custom user-defined entries saved to and restored from configuration and project files.
(Inherited from TGIS_Layer)
DefaultDimension public Default coordinate dimensionality used by CreateShape when no explicit dimension is provided.
(Inherited from TGIS_LayerVector)
DefaultShapeType public Default geometry type used by CreateShape when no explicit shape type is provided.
(Inherited from TGIS_LayerVector)
DirectMode public True if the layer is direct-mode (bypassing cache).
(Inherited from TGIS_Layer)
DormantMode public Memory-management mode for the layer.
(Inherited from TGIS_Layer)
Driver public The layer driver name.
(Inherited from TGIS_Layer)
DynamicAggregator public Dynamic aggregation processor used to cluster, bin, or otherwise aggregate shapes during rendering of large vector datasets.
(Inherited from TGIS_LayerVector)
Extent public Extent of the layer.
(Inherited from TGIS_Layer)
Extent3D public Three-dimensional extent of the layer.
(Inherited from TGIS_Layer)
Fields public Collection of attribute field definitions for shapes stored in the vector layer.
(Inherited from TGIS_LayerVector)
FieldsVirtual public Collection of virtual field definitions generated by the framework for computed or synthetic attribute values.
(Inherited from TGIS_LayerVector)
FileCopyrights public Copyright information about the layer.
(Inherited from TGIS_Layer)
FileInfo public Additional textual information about the layer, such as compression, pixel count, or copyright details.
(Inherited from TGIS_Layer)
GUID public Unique layer identifier.
(Inherited from TGIS_Layer)
HideFromLegend public False if the layer should not be visible in the legend.
(Inherited from TGIS_Layer)
Icon public Layer icon displayed in the legend.
(Inherited from TGIS_Layer)
IgnoreShapeParams public Forces uniform layer-level rendering style and ignores per-shape rendering parameter overrides.
(Inherited from TGIS_LayerVector)
InMemoryRTree public Controls whether the layer uses an in-memory R-Tree spatial index instead of a file-based one.
(Inherited from TGIS_LayerVector)
InPaint public True while the layer is being painted.
(Inherited from TGIS_Layer)
IsExportable public True if the layer is exportable.
(Inherited from TGIS_Layer)
IsLocked public True if the layer is locked.
(Inherited from TGIS_Layer)
IsModified public True if the layer structure or content was modified.
(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 treated as the topmost trackable layer.
(Inherited from TGIS_Layer)
Items public In-memory collection of editable shapes pending persistence to the underlying layer storage.
(Inherited from TGIS_LayerVector)
JoinADO public ADO (ActiveX Data Objects) query object or recordset to be joined with the layer.
(Inherited from TGIS_LayerVector)
JoinCodePage public Code page used to decode text fields from JoinADO or JoinDB external data sources.
(Inherited from TGIS_LayerVector)
JoinDB public Dataset to be joined with the layer as an external attribute source.
(Inherited from TGIS_LayerVector)
JoinForeign public Foreign key field from the external join source used to match records with JoinPrimary.
(Inherited from TGIS_LayerVector)
JoinJDBC public JDBC (Java Database Connectivity) ResultSet containing external query rows to be joined with the layer.
(Inherited from TGIS_LayerVector)
JoinJDBCQuery public JDBC (Java Database Connectivity) query text used to retrieve external rows for joining with the layer.
(Inherited from TGIS_LayerVector)
JoinPrimary public Primary key field from the layer's attribute table used to match external records through JoinForeign.
(Inherited from TGIS_LayerVector)
LabelingMode public Labeling mode capability flag for the layer.
(Inherited from TGIS_LayerVector)
Layer3D public Mode of 3D layer operations.
(Inherited from TGIS_Layer)
MaxTileSize public Maximum allowed tile size for the layer.
(Inherited from TGIS_Layer)
MultipassRendering public Forces multi-pass rendering instead of single-pass optimization to preserve rendering order and improve output quality for complex symbol layers.
(Inherited from TGIS_LayerVector)
MultiUserMode public Multiuser access mode for the layer.
(Inherited from TGIS_Layer)
Name public Layer name.
(Inherited from TGIS_Layer)
OverlappedExtentMargin public Overlap margin applied to the layer extent.
(Inherited from TGIS_Layer)
Params public Returns the vector rendering parameters object for the layer.
(Inherited from TGIS_LayerVector)
ParamsList public List of parameter sections attached to the layer, including styling settings and their visibility ranges.
(Inherited from TGIS_Layer)
ParentLayer public Parent layer of a sublayer.
(Inherited from TGIS_Layer)
Path public Path to the file holding the layer data.
(Inherited from TGIS_Layer)
PathDAT public Path to the DAT attribute file containing field definitions and record values in MapInfo native DAT format.
PathDBF public Path to the DBF (dBASE File) attribute file, used when the TAB dataset stores attributes in dBASE format instead of native DAT format.
PathFLD public File path of the FLD field-definition file associated with the layer.
(Inherited from TGIS_LayerVector)
PathFLDX public File path of the FLDX field-rules file associated with the layer.
(Inherited from TGIS_LayerVector)
PathID public Path to the ID index file that maps shape UIDs (Unique Identifiers) to byte offsets within the MAP geometry file.
PathMAP public Path to the MAP binary geometry file containing encoded shape records for the TAB dataset.
PathRTree public File path of the layer R-Tree spatial index file, if one is used.
(Inherited from TGIS_LayerVector)
PathTAB public Path to the TAB descriptor file, which is the primary entry point for the MapInfo TAB dataset.
PathWithDriver public Path to the layer data prefixed with the 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 R-Tree spatial index object used by the layer for accelerated extent-based shape queries.
(Inherited from TGIS_LayerVector)
Scope public SQL (Structured Query Language) WHERE clause used as a persistent attribute filter for shapes in the layer.
(Inherited from TGIS_LayerVector)
ScopeExtent public Spatial extent filter used as a persistent scope for shapes in the layer.
(Inherited from TGIS_LayerVector)
SelectedList public Read-only list of unique identifiers (UIDs) for all currently selected shapes in the layer.
(Inherited from TGIS_LayerVector)
SelectionGisColor public Selection highlight color used when UseLayerSelectionStyle is True.
(Inherited from TGIS_LayerVector)
SelectionOutlineOnly public Controls whether selected polygons are rendered with outline only when layer-specific selection styling is enabled.
(Inherited from TGIS_LayerVector)
SelectionWidth public Selection outline thickness where values greater than zero are in twips and values less than zero are absolute pixels.
(Inherited from TGIS_LayerVector)
Statistics public Layer statistics engine used by the layer.
(Inherited from TGIS_Layer)
Stream public Stream providing layer data as an alternative to the file specified by
(Inherited from TGIS_Layer)
SubLayers public List of sublayers belonging to the layer.
(Inherited from TGIS_Layer)
SubType public Subtype flags describing the layer role within a layer hierarchy.
(Inherited from TGIS_Layer)
SupportedDimensions public Set of supported coordinate dimensionalities (2D, 3D, or 4D).
(Inherited from TGIS_LayerVector)
SupportedShapes public Set of geometry types supported by this vector layer (Point, Arc/Line, Polygon, or multi-part variants).
(Inherited from TGIS_LayerVector)
SupportedShapesAll public Extended set of supported geometry types, including SupportedShapes and any temporary types exposed by the active DynamicAggregator.
(Inherited from TGIS_LayerVector)
SupportsAsync public Indicates whether the layer supports asynchronous operations.
(Inherited from TGIS_Layer)
SupportsAutoStyle public Indicates whether the layer supports auto styling.
(Inherited from TGIS_Layer)
SupportsTiledPaint public Indicates whether the layer supports tiled paint.
(Inherited from TGIS_Layer)
SymbolingMode public Symboling mode capability flag for the layer.
(Inherited from TGIS_LayerVector)
Tag public Application-defined integer value with 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)
Tileable public True if the layer is currently being printed or exported using tiles.
(Inherited from TGIS_Layer)
TiledDrawMode public Indicates whether the layer is currently being drawn by the tiler.
(Inherited from TGIS_Layer)
Transform public Custom coordinate transformation applied to the layer.
(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 the configuration file is active.
(Inherited from TGIS_Layer)
UseLayerSelectionStyle public Enables layer-specific selection styling instead of using the viewer's global selection appearance.
(Inherited from TGIS_LayerVector)
UserObject public Associates a user-defined object with the layer.
(Inherited from TGIS_Layer)
UseRTree public Enables or disables R-Tree spatial indexing for shape queries in the vector layer.
(Inherited from TGIS_LayerVector)
UseShapeStyleField public Enables attribute-driven rendering style selection for shapes based on a style field value instead of uniform layer parameters.
(Inherited from TGIS_LayerVector)
Viewer public Reference to the viewer that owns or displays this layer.
(Inherited from TGIS_Layer)
ZOrder public Layer position relative to all other layers.
(Inherited from TGIS_Layer)
ZOrderEx public Layer position relative to other visible layers.
(Inherited from TGIS_Layer)

Remarks

PURPOSE: Provides full read and write access to MapInfo TAB native vector format datasets. TAB datasets store geographic features as vector shapes (points, lines, arcs, polygons, multipoints, and text annotations) together with tabular attributes and CoordSys CRS (Coordinate Reference System) projection metadata.

BEHAVIOR: On open, reads the TAB descriptor file to locate companion MAP (geometry), DAT or DBF (attributes), and ID (index) files, parses the CoordSys projection definition, and initializes the layer CRS and extent. Shape traversal uses record-by-record cursor iteration via pre-allocated shape objects for performance. Symbology parameters (pen, brush, symbol, font) are decoded from each MAP record and applied to the returned shape. On save, ImportLayerEx writes all shapes and attributes back to TAB/MAP/DAT companion files.

USAGE: Open a MapInfo TAB dataset and iterate its shapes.

layer = TGIS_LayerTAB()
layer.Open('regions.tab')
cursor = layer.CursorOpen()
layer.CursorFirst(cursor, ...)
while not layer.CursorEof(cursor) do
  process(layer.CursorShape(cursor))
  layer.CursorNext(cursor)
layer.CursorClose(cursor)

CONSTRAINTS: All five companion files (TAB, MAP, DAT or DBF, and ID) must be present and accessible. Write operations require write access to all companion file paths. The CoordSys definition must be a recognized MapInfo projection; unrecognized projections fall back to an unknown CRS.

Features

Supported features:

  • SYMBOL
  • LINE
  • POLYLINE
  • REGION
  • TEXT
  • RECT
  • ROUNDRECT
  • ELLIPSE

Shape types

Metadata

Available metadata keys:

Metadata Values Default Description
TGIS_LayerTAB.SaveVersion9 YES NO NO Save data in v9 version.
TGIS_LayerTAB.ExportLabelAsPoint YES NO NO Labels will be exported as point features.
TGIS_LayerVector.WriteOriginalUid YES NO NO Original uid (ORIG_ID) will be added during layer import.
TGIS_LayerTAB.OpenSeamless YES NO NO Seamless layer will be treated as a project to import.
TGIS_LayerTAB.DefaultBounds YES NO NO Save geometry using default projection bounds instead of a more accurate extent.

If a .tab file has the IsSeamless parameter set TRUE, it can be treated as a project to import only when using the Open method of the viewer or by setting metadata TGIS_LayerTAB.OpenSeamless. Otherwise, it will be opened as a single layer.

Error codes

During some operations, “File … has wrong format or was corrupted” exception is raised with a code referring to known limitations:

Code Description
1-4 Invalid size of reading buffer
0 Not prerecognized TAB structure

2026/11/06 01:13

Page Tools