Reader Directives
The following paragraphs contain the directives processed by the P1/90 reader. The suffixes shown are prefixed by the current <ReaderKeyword> in a mapping file. By default, the <ReaderKeyword> for the P1/90 reader is P190.
DATASET
The value for this directive is the name of a single ASCII-encoded text file that contains data records. The typical extensions of these files are .p190.
Mapping File Syntax
P190_DATASET “C:\DATA\P190\myP190data.p190”
Required/Optional
Required
Workbench Parameter
Source P1/90 File
OUTPUT_GEOM
This directive specifies the feature type that FME will create and the type of data records produced.
- Points: The data records are read as is, one record per one point, and no attribute data is lost.
- Lines: The point geometry data will be aggregated on line name, producing one feature per unique line name.
- Both: The previous feature types will both be created and both types will be output.
Required/Optional
Required
Mapping File Syntax
<ReaderKeyword>_OUTPUT_GEOM <lines/points/both>
Workbench Parameter
Output feature geometry as
MEASURES_SET
Specifies which measure values will be added to the output geometry:
- No measures: No measure values will be added to the geometry.
- Shotpoint number: The measure value will be set to the shotpoint number value on the data records.
- Depth value (z-coords): The z-coordinates will be duplicated on the geometry as measure values.
Required/Optional
Required
Mapping File Syntax
<ReaderKeyword>_MEASURES_SET <None,PointNum,Depth>
Workbench Parameter
Set point measure values to:
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
<ReaderKeyword>_SEARCH_ENVELOPE <minX> <minY> <maxX> <maxY>
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
P190-Specific Example
The example below selects a small area in a lat/long dataset for extraction:
P190_SEARCH_ENVELOPE -130 49 -128 50.1
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.
The COORDINATE_SYSTEM
directive, which specifies the coordinate system associated with the data to be read, must always be set if the SEARCH_ENVELOPE_COORDINATE_SYSTEM
directive is set.
If this directive is set, the minimum and maximum points of the search envelope are reprojected from the SEARCH_ENVELOPE_COORDINATE_SYSTEM
to the reader COORDINATE_SYSTEM
prior to applying the envelope.
Required/Optional
Optional
Mapping File Syntax
<ReaderKeyword>_SEARCH_ENVELOPE_COORDINATE_SYSTEM <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 the SEARCH_ENVELOPE
directive.
Values
YES | NO (default)
Mapping File Syntax
<ReaderKeyword>_CLIP_TO_ENVELOPE [yes | no]
Workbench Parameter
Clip To Envelope