FME Components

FME users need to know several concepts. These concepts are necessary to create a common language among the multitude of formats FME supports. Additionally, they are required to describe the different components of FME translations.

Workspace Components

A workspace is the primary element in an FME translation and is responsible for storing a translation definition. The workspace is the container for all the functionality of a translation. It contains the following components:

Readers and Writers

A reader is the FME term for the component in a translation that reads a source dataset. Likewise, a writer is the component that writes to a destination dataset.

Readers and writers are represented by entries in the Navigator window.

Feature Types

Feature type is the FME term that describes a subset of records. Common alternatives for this term are layer, table, sheet, feature class, and object class. For example, each sheet in an Excel workbook, table in a database, or layer in a spatial data file is defined by a feature type in FME.

Feature types are represented by objects that appear on the Workbench canvas.

Features

Features are the smallest single components of an FME translation.

They aren’t individually represented within a workspace, except by the feature counts on a completed translation.

Relationships

Each workspace can contain multiple readers and writers, each of which can have multiple feature types, with multiple features. They exist in a hierarchy that looks like this:

A workspace with multiple readers and writers might look like this:

This workspace has two readers (each with three feature types), and three writers (with one, two, and one feature types). Each reader and writer is a different format, and each has a different name for its feature types.

Examples

Here is a table showing some examples of how common formats are treated by default in FME.

Format Dataset Reader/Writer Feature Type Feature
Excel The .xls or .xlsx file, also known as a workbook The definition in the workspace of how to read/write the dataset, the path to read or write A worksheet (single table) within the workbook Row in a worksheet
CSV The .csv file (a single table) The definition in the workspace of how to read/write the dataset, the path to read or write A single table* Row in a table
Esri Geodatabase A .gdb file (either a system folder or a database) The definition in the workspace of how to read/write the dataset, the path to read or write A single ArcGIS feature class or table within the geodatabase A single geometric feature plus attributes (e.g. a point, line, or polygon), or a row in a table

*Note that CSV files can only contain a single table. Therefore, you cannot use CSV feature types to write multiple tables to the same CSV file. However, it is still possible to have a CSV reader or writer with multiple feature types. This setup simply reads or writes multiple CSV files, one for each feature type, using the settings from the reader/writer. This example shows that feature types behave differently by format. When in doubt, refer to the FME Readers and Writers documentation for details.

results matching ""

    No results matching ""