Geographic Data Files (GDF) Reader Parameters
Specification Variant
This indicates which GDF specification will be used when creating the output GDF file. Several GDF data producers do not strictly follow the official CEN GDF 3.0 standard, but rather follow their own slightly modified version of these standards. If you know the specification your file uses, you can indicate it here. If not, FME will make its best effort to determine the specification.

Tells the GDF reader to use an intelligent guess as to which specification to use, based on the header of the GDF file it is overwriting, if any.

The official CEN 3.0 specification is used.

The NavTech variant of the GDF specification is used.

The TeleAtlas variant of the GDF specification is used.
Geometry Completion
Indicates the level up to which the user wants to complete the geometry. All levels above this will have the geometry linked to the features indirectly. All levels with complete geometry will have the geometry explicitly on each feature directly.

When FME reads GDF files, it requires a lot of effort to store and reference all the features between layers. For example, to get the geometry of a single level 2 feature, first the FME must locate all the level 1 features that are linked to it. Then it has to locate all the level 0 features that are linked to each Level 1 feature. Then it has to locate all the XYZ features that are linked to every Level 0 feature. Finally it has to put all that geometry together and process it to generate the geometry for the single level 2 feature. It is much easier if the features were output with no geometry but instead kept attributes that indicated to which other features it was linked.
For this reason, there is an option of choosing whether features produced by the reader have the "links" on them, or if the FME should to go through all the effort to complete the links and form the geometry on each feature. There is also the option of specifying on which levels the geometry should be completed, and which levels will be left as "linked" to lower-level features.

For example, if you were only interested in the level 1 features of a GDF dataset (you were going to delete or ignore the level 2 features) then there would be no reason for FME to complete the geometry on level 2 features. You could choose to complete only the geometry on level 1 features and leave the level 2 features as linked (since you would be deleting them anyway).

Another example might be if you are planning to import features into a spatial database. In your new model, you would like to keep the links present so that if you edited and modified the geometry of a level 0 feature, the geometry of all level 1 and 2 features that link to it would immediately change. In this situation, you would select NONE for geometry completion, and just import all the features into your database as linked.

Of course, if you are translating GDF to any of the more common file-based formats for general viewing and usage, completing the geometry all the way up to level 2 is probably the most reasonable choice.Determines if geometry links are resolved to build geometry on higher level features.
Attributes

Indicates whether to complete the attribute links for each feature. If checked, all features will have their attributes explicitly appear on the features directly. If not checked, all features will have their attribute information remain in separate tables joined with link values.
The issues surrounding attribute completion when reading GDF is similar to geometry completion. Natively, a feature’s attributes are referenced through a linking mechanism and extra effort is needed if it is desired that the features read from GDF know all their attributes directly.
Therefore there is an option of choosing between whether features produced by the reader have the "links" on them or if FME should to go through all the effort to complete the links and supply the attributes directly on each feature as they are read. Reasoning as to whether or not to choose attribute completion is similar to that outlined for geometry completion.

Indicates if the user wants attribute features that have been used in attribute completion to be output by the reader. If this box is checked, then features that primarily carry attribute values (for example GDF Name records) will be output. This parameter has no effect if the Attribute Completion setting is not checked.
Code

Indicates whether known codes of attribute names are replaced with their actual expanded name for each feature. If selected, all features will have the code values of their attribute names replaced. For example, an attribute ON will be renamed to Official Name. If this option is not enabled, all features will have their attribute names left as the original codes.

Indicates whether known codes of attributes are replaced with their actual expanded values for each feature. If selected, all features will have the code values of their attributes replaced. For example, an attribute Vehicle Type with the value 16 will have that value replaced by Taxi. If this option is not enabled, all features will have their attribute values left as the original codes.
Metadata Options

Indicates whether the reader should to ignore the FIELDEFREC (03) and RECDEFREC (04) records in the GDF file, or parse and honor them.
If you check this option, all FIELDEFREC (03) and RECDEFREC (04) records in the file will be ignored when reading. This is useful for reading files with corrupt metadata. Without ignoring these corrupt lines, the file cannot be read correctly.
Multiple Value Separator

Specifies the characters that will separate values when an attribute has more than one value. The multiple value separator can be any string.
For example, the Name attribute of a Country may have two values: Japan and Nippon. If the three-colon (:::) separator is specified, the value for Name will be Japan:::Nippon.
Additional Attributes to Expose
Use this parameter to expose Format Attributes in FME Workbench when you create a workspace:
- In a dynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario, this parameter allows you to expose additional attributes on multiple feature types. Click the browse button to view the available format attributes (which are different for each format) for the reader.
A search envelope (also known as a bounding box) is a rectangular area that defines a geographic area. In FME, the easiest way to define a search envelope is to use search envelope parameters. Defining a search envelope is the most efficient method of selecting an area of interest because FME will read only the data that is necessary – it does not have to read an entire dataset. Search Envelope parameters apply to both vector and raster datasets and can be particularly efficient if the source format has a spatial index. Most FME readers have parameters to define the search envelope of data that is being read:
The parameters include the x and y coordinates of the bounding box as well as a parameter that defines the coordinate system. How to Define the Bounding Box 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 intersect with the bounding box are returned. Note that the bounding box intersection is not a full geometry intersection (based on spatial relationships) that would be returned by a transformer like the SpatialFilter. Note If all four coordinates of the search envelope are left at 0, the search envelope will be disabled even if this option is checked.
|
|||||||
Search Envelope Coordinate System |
Specifies the coordinate system of the search envelope if it is different than the coordinate system of the data. The coordinate system associated with the data to be read must always be set if this parameter is set. If this parameter is set, the minimum and maximum points of the search envelope are reprojected from the Search Envelope Coordinate System to the reader’s coordinate system prior to applying the envelope. |
||||||
Clip to Search Envelope |
The underlying function for Use Search Envelope is an intersection; however, when Clip to Search Envelope is checked, a clipping operation is also performed.
|