Writer Directives

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

DATASET

Required/Optional: Required

The value for this directive is the file containing the FF dataset to write out.

Example:

FF_DATASET /usr/data/output.ff

FF_PARAMETERFILE

Required/Optional: Optional

This setting gives the name of the file that is used as a parameter file. This file may be used to store the values to all of the directives below, instead of listing them all in mapping files. If there are definitions both in a parameter file and in the mapping file, the latter prevails.

Example:

FF_PARAMETERFILE /usr/data/autoka.par

The contents of a typical parameter file look like this:

-- Metadata for translation back into a Transfer File --
-- Original filename : C:\Data\city.ff

FFVER 9
ISONR 1
RUBRIK "AutoKa-PC Lokal ADB"
BANKNAMN "  "
BASNAMN "007LYRAN\CLUSTER"
PLANSYSTEM "  "
HOJDSYSTEM "  "
BASORIGOX 7000000
BASORIGOY 1500000
BASXYPREC -3
BASORIGOZ 0
BASZPREC -3
XIDLGDMAX 64
BASDATUM “1997-11-25, 21:14”
BASSIGN “  “

FFVER

Required/Optional: Optional

The value for this directive is the FF format version number.

Example:

FF_FFVER 8

ISONR

Required/Optional: Optional

The value for this directive is the ISO 8859/alphabetical number.

Example:

FF_ISONR 1

RUBRIK

Required/Optional: Optional

The value for this directive holds the FF file header string. It can be a maximum of 80 characters.

Example:

FF_RUBRIK "AutoKa-PC Lokal ADB"

BANKNAMN

Required/Optional: Optional

The value for this directive holds name of the bank. It can be a maximum of 80 characters.

Example:

FF_BANKNAMN "TEST"

BASNAMN

Required/Optional: Optional

The value for this directive holds the AutoKa-PC base name. It can be a maximum of 80 characters. A typical mapping file fragment using this directive looks like:

FF_BANKNAMN "007LYRAN\CLUSTER"

PLANSYSTEM

Required/Optional: Optional

The value for this directive holds planimetric system. It can be a maximum of 80 characters.

Example:

FF_PLANSYSTEM "SYSTEM1"

HOJDSYSTEM

Required/Optional: Optional

The value for this directive holds height system. It can be a maximum of 80 characters.

Example:

FF_PLANSYSTEM "SYSTEM2"

BASORIGOX, BASORIGOY, BASORIGOZ

Required/Optional: Optional

The values for these directives hold the false origin of the map. These values are used as shifting factors when writing out the FF file. A typical mapping file fragment using these directives looks like:

FF_BASORIGOX 7000000
FF_BASORIGOY 1500000
FF_BASORIGOZ 0

Note: If FF_BASORIGOX, FF_BASORIGOY, FF_BASORIGOZ, FF_BASXYPREC, and FF_BASZPREC are not specified, then reasonable values will be calculated based on the range and scale of the data being written.

BASXYPREC

Required/Optional: Optional

The value for this directive holds the planimetric precision. This value is used as a scaling factor in the X and Y directions when writing out the FF file. The precision is given as powers of ten. The permitted interval of values is between –6 and 3 (0 = meter, -3 = mm, etc.).

Example:

FF_BASXYPREC -3

Note: If FF_BASORIGOX, FF_BASORIGOY, FF_BASORIGOZ, FF_BASXYPREC, and FF_BASZPREC are not specified, then reasonable values will be calculated based on the range and scale of the data being written.

BASZPREC

Required/Optional: Optional

The value for this directive holds the height precision. This value is used as a scaling factor in the Z direction when writing out the FF file. The precision is given as powers of ten. The permitted interval of values is between –6 and 3 (0 = meter, -3 = mm, etc.).

FF_BASZPREC 4

Note:  If FF_BASORIGOX, FF_BASORIGOY, FF_BASORIGOZ, FF_BASXYPREC, and FF_BASZPREC are not specified, then reasonable values will be calculated based on the range and scale of the data being written.

XIDLGDMAX

Required/Optional: Optional

The value for this directive holds the maximum length of the external ID in the FF file. The value must be an even number no greater than 64.

FF_XIDLGDMAX 64

BASDATUM

Required/Optional: Optional

The value for this directive holds the date when the WdB was created.

Example:

FF_BASDATUM "1997-11-25, 21:14"

BASSIGN

Required/Optional: Optional

The value for this directive holds the signature of the person who created the WdB. In receipt files basDatum and basSign must have the same contents as in the checked-in Transfer file.

FF_BASSIGN "USER3"