Writer Directives

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

DATASET

Required/Optional: Required

This specifies the output file to which the features are to be written. A typical mapping file fragment specifying an output StruMap dataset looks like:

STRUMAP_DATASET /usr/data/Strumap/output.sgf

Workbench Parameter: Destination Northgate StruMap File

DEF

Required/Optional: Required

Each StruMap feature type must be defined before it can be written. The definition specifies a unique feature code of the feature type, and the names and the types of all attributes. The syntax of a StruMap DEF line is:

<WriterKeyword>_DEF <baseName> \
	[<attrName> <attrType>]+

The attribute types supported are the same as those listed in the Reader section.

STRING_DELIMITER

Required/Optional: Optional

This is the character added around a string to indicate the beginning and the ending of a string. For example, to indicate that a pair character “\” should be used to quote a string, the following is used. By default, double quotation marks are used.

<WriterKeyword>_STRING_DELIMITER “\”