Feature Representation

Attributes and geometry assigned to features by the individual readers pass through the Multi-Reader untouched. However, the Multi-Reader does add new attributes to identify the original source of the feature.

Attribute Name

Contents

multi_reader_id

This attribute holds the number of the individual reader that produced the feature. When each reader is explicitly specified, multi_reader_id corresponds to the # enclosed in {} in the MULTI_READER_TYPE{#} keyword for the reader. When the MULTI_READER_TYPE{*} keyword is used, multi_reader_id corresponds to the number assigned to the reader by the FME.

Example: Integer >= 0

multi_reader_full_id

This attribute uniquely identifies the original reader that produced the feature when Multi-Readers are nested. It consists of the outermost multi_reader_id followed by a . followed by the next inner multi_reader_id, and so on. If the Multi-Reader does not contain another Multi-Reader as one of its readers, then this attribute will have the same value as the multi_reader_id.

Example: 2.3.0

multi_reader_type

This attribute holds the type of the reader that produced the feature. When each reader is explicitly specified, multi_reader_type corresponds to the type specified by the MULTI_READER_TYPE{#} keyword for the reader. When the MULTI_READER_TYPE{*} keyword is used, the type it specifies is used for all features. If Multi-Readers are nested within each other, this attribute holds the original true reader that produced the feature (in other words, this attribute will NEVER hold MULTI_READER as its value.

Example: IGDS

multi_reader_keyword

This attribute holds the reader keyword for the reader that produced the feature. When each reader is explicitly specified, multi_reader_keyword corresponds to the value specified by the MULTI_READER_KEYWORD{#} for the reader, if one is provided. If none is provided, the multi_reader_keyword corresponds to the MULTI_READER_TYPE{#} for the reader. When the MULTI_READER_TYPE{*} keyword is used, the type it specifies is used as the multi_reader_keyword for all features from all readers.

Example: IGDS_1