Writer Directives – Personal and File Geodatabase

The directives listed in this section are used when connecting to a Personal Geodatabase.

DATASET

Required/Optional: Required

For Personal Geodatabase, this is the Microsoft Access file to which data is to be written.

For File-based Geodatabase, this is the folder ending in .gdb.

Workbench Parameter: Destination ESRI Geodatabase File

COMPRESS_AT_END

Required/Optional: Optional

This directive determines whether the dataset should be compressed after the writer has finished writing features to it. This directive applies to both Personal and File Geodatabases.

Values: YES | NO

Default Value: NO

Workbench Parameter: Compress Database at End

Example:

GEODATABASE_MDB_COMPRESS_AT_END YES

OVERWRITE_GEODB

Required/Optional: Optional

If set to YES, deletes the existing database. This directive applies to both Personal and File Geodatabases.

Note: A File Geodatabase cannot be overwritten if it is open in the FME Viewer or by ArcMap/ArcCatalog.

Values: YES | NO

Default Value: NO

Workbench Parameter: Overwrite Geodatabase

REQUESTED_GEODATABASE_VERSION

This directive determines what version of Geodatabase should be created. This directive applies to both Personal and File Geodatabases.

Required/Optional

Optional

Values

9.3 | 10.0 | CURRENT (default)

Mapping File Syntax

GEODATABASE_MDB_REQUESTED_GEODATABASE_VERSION 9.3

Workbench Parameter

Geodatabase Version

VALIDATE_FEATURES

This directive specifies whether or not to validate features passed to the geodatabase writer. When set to ‘yes’, validation is performed on the subtype, attribute rules, relationship rules, network connectivity rules and any custom rules present on the feature class. Failed features will be logged with an extended error message describing the reason for the failure. When set to ‘no’, validation is not performed.

Required/Optional

Optional

Parameter

<validate_features>

Values

YES | NO (default)

Example:

GEODATABASE_SDE_VALIDATE_FEATURES YES