Reader Directives

The directives listed below are processed by the E57 reader.

The suffixes shown are prefixed by the current <ReaderKeyword> in a mapping file. By default, the <ReaderKeyword> for the E57 reader is E57.

DATASET

The value for this directive is the E57 file to be read.

The default extension for ASTM E57 files is .e57

Required/Optional

Required

Mapping File Syntax

E57_DATASET C:\data\file.e57

Workbench Parameter

E57 File(s)

FEATURE_TYPE_NAME

The values for this directive are listed in the table below. The Feature Type Name depends on the value used.

Value Feature Type Name Example

FORMAT_NAME

(default value)

<geometry_type>

point_cloud

raster

FILE_NAME <geometry_type>_<index>

point_cloud_0

point_cloud_1

SUBDATASET_NAME <file name>_<geometry_type>

myfile_point_cloud

myfile_raster

FILE_NAME_AND_SUBDATASET_NAME <file name>_<geometry_type>_<index>

myfile_point_cloud_0

myfile_point_cloud_1

Required/Optional

Required

Mapping File Syntax

FEATURE_TYPE_NAME FORMAT_NAME

Workbench Parameter

Feature Type Name(s)

COMPONENT_MAP

This directive maps E57 element names to FME point cloud components. Each FME component included in this list will appear in the point cloud geometry.

Values

<E57 element name, FME component name>+

Example

intensity,fmepc_intensity,colorRed,fmepc_color_r,colorGreen,fmepc_color_g,colorBlue,fmepc_color_b

Required/Optional

Optional

Workbench Parameter

Component Mapping

EXPOSED_ATTRS

This directive allows the selection of format attributes to be explicitly added to the reader feature type.

This is similar to exposing format attributes on a reader feature type once it has been generated; however, it is even more powerful because it enables schema-driven applications other than Workbench to access and leverage these attributes as if they were explicitly on the schema as user attributes.

The result of picking a list of attributes is a comma-separated list of attribute names and types that will be added to the schema features. Currently all reader feature types will receive the same set of additional schema attributes for a given instance of the reader.

Required/Optional

Optional

Mapping File Syntax

Not applicable.

While it is possible for FME Objects applications to invoke this directive, the required format is not documented.

This directive is intended for use in our GUI applications (for example, Workbench) only.

Workbench Parameter

Additional Attributes to Expose