GDB vector file functions

The GDB vector functions can be used to read and write GDB database vector layers.

VECAddField()
VECAddField() is used to add a new field to an existing vector layer.
VECClearLayer()
VECClearLayer() is used to clear the contents of a layer without removing it entirely.
VECCopyWholePolygonLayer()
VECCopyWholePolygonLayer() is used to copy the indicated source area layer (LAYER_TYPE = AREA), to a new layer (or existing) layer on the destination file.
VECCreateLayer()
VECCreateLayer() is used to create a new vector layer (segment) on the indicated database.
VECCreateShape()
VECCreateShape() is used to create a new vector shape on a layer.
VECDeleteField()
VECDeleteField() is used to delete a field in an existing vector layer.
VECDeleteShape()
VECDeleteShape() is used to deletes a specified shape.
VECGetField()
VECGetField() is used to read the value from an attribute field associated with a shape in a vector layer.
VECGetFieldCount()
VECGetFieldCount() is used to retrive the number of fields for an indicated vector layer.
VECGetFieldDesc()
VECGetFieldDesc() is used to retrive the Description of an attribute field.
VECGetFieldFormat()
VECGetFieldFormat() is used to retrieve a string containing a C-style format specification for displaying the contents of the given field.
VECGetFieldName()
VECGetFieldName() is used to retrieve the name of an attribute field.
VECGetFieldType()
VECGetFieldType() is used to retrieve the data type of an attribute field.
VECGetLayerDesc()
VECGetLayerDesc() is used to retrieve the Description of the layer.
VECGetLayerName()
VECGetLayerName() is used to retrieve the name of the layer.
VECGetVertices()
VECGetVertices() is used to retrieve a list of vertices from a shape in a vector layer.
VECNextShape()
VECNextShape() is used to visit all entities in a vector layer in a manner analogous to the DBNextSeg() function.
VECQueryAttribute()
VECQueryAttribute() is used to fetch a list of shape numbers for all shapes in a layer satisfying a provided boolean expression on the attribute fields.
VECQueryNearest()
VECQueryNearest() is used to fetch the nearest shape to a given 2D location.
VECQueryRadius()
VECQueryRadius() is used to find a list of shapes for which some portion of the shape is within a given radius of a given point.
VECQueryRect()
VECQueryRect() is used to find a list of shapes for which some portion of the shape is within a given rectangle.
VECReadGeoInfo()
VECReadGeoInfo() is used to retrieve the georeferencing/projection information for a vector layer.
VECRemoveSelection()
VECRemoveSelection() is used to remove the current selection from the given vector layer.
VECSetField()
VECSetField() is used to set the value of an attribute field on a shape in a vector layer.
VECSetSelection()
VECSetSelection() is used to set the current selection on a vector layer from the given list of shapeids.
VECSetVertices()
VECSetVertices() is used to writes a list of vertices to a shape in a vector layer.
VECTopoConsistencyCheck()
VECTopoConsistencyCheck() is used to verify that a particular area (LAYER_TYPE = TOPO_AREAS) layer, and it's associated arc and node layers are topologically consistent.
VECWriteGeoInfo()
VECWriteGeoInfo() is used to write the georeferencing/projection information for a vector layer.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.