Writer Directives

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

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 MPS file to be written.

Required/Optional

Required

Mapping File Syntax

GARMIN_MPS_DATASET /usr/data/data.mps

AUTO_NAME_LENGTH

The value for this directive is the length of GPSBabel-generated short names. The default is 10.

Required/Optional

Optional

Mapping File Syntax

GARMIN_MPS_AUTO_NAME_LENGTH 10

AUTO_NAME_WHITESPACE

The value for this directive is whether or not whitespace is allowed in generated short names. The default is to not allow whitespace.

Required/Optional

Optional

Mapping File Syntax

GARMIN_MPS_AUTO_NAME_WHITESPACE No

VERSION

The value for this directive is the version of MPS to write. The valid values are 3, 4, and 5; the default is 5.

Required/Optional

Optional

Mapping File Syntax

GARMIN_MPS_VERSION 5