Writer Directives

This section lists the directives processed by the GDF Writer. The suffixes shown are prefixed by the current <WriterKeyword> in a mapping file. By default, the <WriterKeyword> for the GDF writer is GDF.

DATASET

Required/Optional: Required

The value for this directive is the file where the output GDF data set should be written to.

Example:

GDF_DATASET /usr/data/navigate/surrey.gdf

Workbench Parameter: Destination Geographic Data Files (GDF) File

SPECIFICATION

Required/Optional: Optional

Sets the specification that should be used when writing the output GDF file.

Values: CEN, NAVTEQ, NAVTECH (deprecated), TELEATLAS, or BESTGUESS

This indicates which GDF specification will be used when creating the output GDF file.

A value of CEN means that the official CEN 3.0 specification will be used. The values NAVTEQ and TELEATLAS indicates that the NAVTEQ or TeleAtlas variants of the GDF specification should be used, respectively. The value BESTGUESS tells the GDF reader to use an intelligent guess as to which specification to use, based on the header of the GDF file it is overwriting, if any.

Default value: BESTGUESS

Example:

GDF_SPECIFICATION CEN

Workbench Parameter: GDF Specification Variant

CHARSET

Required/Optional: Required

Sets the character set that should be used when writing the output GDF file.

Values: ASCII, UTF-8, or ISO 8859-1

A value of ASCII means that the data rows in the output file will be written as single byte system encoded strings. Conversely. the other values indicate specific character encodings for the output string data. This option parallels the value found in the header of the input file on read but must be manually selected when creating an output file.

Default value: ASCII

Example:

GDF_CHARSET ASCII

Workbench Parameter: GDF Charset

END_OF_LINE

Required/Optional: Required

Sets the type of end of line terminator that should be used when writing the output GDF file.

Values: System, Windows, Unix ,or Macintosh

The default value of System will attempt to detect the platform in use and use the appropriate end of line characters from among the other options. Using the default charset option of ASCII a value of Windows uses a pair of <CR><LF> control characters, a value of Unix uses a single <CR> control character and a value of Macintosh uses a single <LF> control character for older systems previous to the adoption of Unix style end of line characters.

Note: The value of the CHARSET option can affect the end of line characters and additional charset values may result in other end of line control characters.

Default value: System

Example:

GDF_END_OF_LINE System

Workbench Parameter: GDF End of Line