Reader Directives

The directive processed by the PHOCUS reader are listed below. The suffix shown is prefixed by the currentin a mapping file. By default, thefor the PHOCUS reader isPHOCUS.

DATASET

Required/Optional:Required

The value for this keyword is the file containing the PHOCUS dataset to be read. A typical mapping file fragment specifying an input PHOCUS dataset looks like:

PHOCUS_DATASET /usr/data/phocus/db84.pdt

Workbench Parameter:Source PHOCUS PHODAT File(s)

SPLIT_INVISIBLE_LINES

Required/Optional:Optional

This directive indicates whether lines that have visible and invisible components are to be split apart and returned as visible and invisible lines. If not specified, or if the value is NO, then lines with visible and invisible components are not split up.

SEARCH_ENVELOPE

Using the minimum and maximum x and y parameters, define a bounding box that will be used to filter the input features. Only features that interact with the bounding box are returned.

If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.

Mapping File Syntax

_SEARCH_ENVELOPE

Note:If all four coordinates of the search envelope are specified as zero, the search envelope will be disabled.

Required/Optional

Optional

Workbench Parameter

Minimum X, Minimum Y, Maximum X, Maximum Y

SEARCH_ENVELOPE_COORDINATE_SYSTEM

This directive specifies the coordinate system of the search envelope if it is different than the coordinate system of the data.

TheCOORDINATE_SYSTEMdirective, which specifies the coordinate system associated with the data to be read, must always be set if theSEARCH_ENVELOPE_COORDINATE_SYSTEMdirective is set.

If this directive is set, the minimum and maximum points of the search envelope are reprojected from theSEARCH_ENVELOPE_COORDINATE_SYSTEMto the readerCOORDINATE_SYSTEMprior to applying the envelope.

Required/Optional

Optional

Mapping File Syntax

_SEARCH_ENVELOPE_COORDINATE_SYSTEM

Workbench Parameter

Search Envelope Coordinate System

CLIP_TO_ENVELOPE

This directive specifies whether or not FME should clip features to the envelope specified in theSEARCH_ENVELOPEdirective.

Values

YES | NO (default)

Mapping File Syntax

_CLIP_TO_ENVELOPE [yes | no]

Workbench Parameter

Clip To Envelope