Reader Directives

The directives processed by the OGDI reader are listed below. The suffixes shown are prefixed by the current <ReaderKeyword> in a mapping file. By default, the <ReaderKeyword> for the OGDI reader is OGDI.

DATASET

The dataset is the Windows Azure storage service. This value is sometimes referred to as the account name and is the first part of the URL used to access the service from a browser. For example,

http://<storage service>.cloudapp.net

This specifies the service name for accessing the Windows Azure storage account containing the tables to be read.

Required/Optional

Required

DEF

Required/Optional: Required

The syntax of the definition is:

OGDI_DEF <tableName>
[<fieldName> <fieldType>] +

The <fieldType> of each field must be given, but it is not verified against the database definition for the field. In effect, it is ignored. The exception to this is the geometry field type which is not placed in the DEF.

STORAGE_KEY

This specifies the primary access key for accessing the Microsoft Windows Azure Storage service. This key is provided when registering for access to an OGDI service.

<ReaderKeyword>_STORAGE_KEY a1b2C3k1/a1b2C3k1a1b2C3k1a1b2C3k1a1b2C3k1a1b2C3k1a1b2C3k1/a1b2C3k1a1b2C3k1a1b2C3k1a1b2==

Required/Optional

Required

TABLE_NAME

This specifies the name of the table to read data from. The table name can be entered manually or chosen from a list of tables accessible by the account specified by the STORAGE_KEY.

<ReaderKeyword>_TABLE_NAME MyTable

Required/Optional

Required

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