TableDescription

An object that describes a GeodatabaseFeatureTable to be created. Creation of fields and tables is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via Geodatabase.create(String).

Since

200.1.0

Constructors

Link copied to clipboard
constructor(name: String)

Creates a new table description object with the specified name.

constructor(name: String, spatialReference: SpatialReference, geometryType: GeometryType)

Creates a new table description object with the specified name, spatial reference, and geometry type.

Properties

Link copied to clipboard

A MutableListImpl of FieldDescription objects that represent the descriptions of the fields to be created. If no ObjectID field is provided, one will be automatically added.

Link copied to clipboard

The type of geometry to be used by features in the table. The default geometry type is GeometryType.Unknown and represents a non-spatial table. When setting a known geometry type, the spatial reference also needs to be specified via the TableDescription.spatialReference property.

Link copied to clipboard

True if the features should support attachments. The default value is false. Enabling attachments requires a GlobalID field.

Link copied to clipboard

True if the feature geometries should contain M values. The default value is false.

Link copied to clipboard

True if the feature geometries should contain Z values. The default value is false.

Link copied to clipboard

The spatial reference to be used by feature geometries in the table. The default spatial reference is null and represents a non-spatial table. When setting to a non-null spatial reference, the geometry type also needs to be specified via the TableDescription.geometryType property.

Link copied to clipboard

The table's name. The table name must be non-empty, consist only of alphanumeric characters and underscores, and cannot start with a number or an underscore.