Writer Directives

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

DATASET

Required/Optional: Required

The value for this directive is the file name of the KF85 file to be written. A typical mapping file fragment specifying an output KF85 dataset looks like:

KF85_DATASET /usr/data/KF85/roads.k85

Workbench Parameter: Destination Swedish KF85 File

X_ORIGIN

Required/Optional: Optional

The value for this directive is the mathematical X coordinate1This is the horizontal component. of the false origin in the destination KF85 file. If this directive is not present in the mapping file, a default value of 0 will be used. A typical mapping file fragment specifying an output KF85 X origin coordinate looks like:

KF85_X_ORIGIN 100

Y_ORIGIN

Required/Optional: Optional

The value for this directive is the mathematical Y coordinate2This is the vertical component. of the false origin in the destination KF85 file. If this directive is not present in the mapping file, a default value of 0 will be used. A typical mapping file fragment specifying an output KF85 Y origin coordinate looks like:

KF85_Y_ORIGIN 300

SCALE

Required/Optional: Optional

The directive value is the scale of the destination KF85 file. If this directive is not present in the mapping file, a default value of 1 will be used. A typical mapping file fragment specifying an output KF85 scale looks like:

KF85_SCALE 500

TEXT_LENGTH

Required/Optional: Optional

The value for this directive is the maximum length of the text strings appended to the lines and points output to KF85. The maximum value for this directive is 20. If this directive is not present, the default of 20 is used. This does not set the length of text on a text feature. A typical mapping file fragment specifying an output KF85 text length looks like:

KF85_TEXT_LENGTH 15

MANAGER

Required/Optional: Optional

The value for this directive sets the MANAGER field in the J header of the output KF85 file. If this directive is not present, the field is left blank. A typical mapping file fragment specifying an output KF85 manager header field looks like:

KF85_MANAGER "BJÖRN"

COORDINATE_SYSTEM_STRING

Required/Optional: Optional

The value for this directive sets the coordinate system field in the G header of the output KF85 file, even when using the FME reprojection capabilities. This only overrides the output field and does not affect the data projection. If this directive is not present, the coordinate system string is automatically set to the correct value based on the recognized coordinate system. A typical mapping file fragment specifying an output KF85 coordinate system string looks like:

KF85_COORDINATE_SYSTEM_STRING "RT 90 2.5 gon V RH 70"