TableDescription

class 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).

Constructors

Link copied to clipboard
fun TableDescription(name: String)

Creates a new table description object with the specified name.

Link copied to clipboard
fun TableDescription(    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
val fieldDescriptions: MutableList<FieldDescription>
Link copied to clipboard
var geometryType: GeometryType

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.getSpatialReference() property.

Link copied to clipboard
var hasAttachments: Boolean

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

Link copied to clipboard
var hasM: Boolean

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

Link copied to clipboard
var hasZ: Boolean

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

Link copied to clipboard
var spatialReference: SpatialReference?
Link copied to clipboard
var tableName: String

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.