Writer Directives

The directives listed below are processed by the Garmin GDB writer. The suffixes shown are prefixed by the current <WriterKeyword> in a mapping file. By default, the <WriterKeyword> for the Garmin GDB writer is GARMIN_GDB.

These directives parallel the format options provided by GPSBabel. For more information, refer to the GPSBabel documentation for this format.

Note that the “via” and “roadbook” options are not available, as their functionality can be replicated with FME transformers.

DATASET

The value for this directive is the Garmin GDB file to be written.

Required/Optional

Required

Mapping File Syntax

GARMIN_GDB_DATASET /usr/data/data.gdb

CATEGORY

The value for this directive is the GDB category to assign to waypoints. The valid range is 1 to 16. This range represents the 16 user-defined categories available on Garmin GPS devices.

Required/Optional

Optional

Mapping File Syntax

GARMIN_GDB_CATEGORY 1

BITSCATEGORY

The value for this directive is a mask that represents multiple categories to assign to each waypoint. The valid range is 1 to 65535 or 0x0001 to 0xFFFF.

Required/Optional

Optional

Mapping File Syntax

GARMIN_GDB_BITSCATEGORY 32769

VERSION

The value for this directive is the version of GDB to write. The valid range is 1 to 3, and the default is 2.

Required/Optional

Optional

Mapping File Syntax

GARMIN_GDB_VERSION 3