Feature Representation

Features read from DB2 Spatial consist of a series of attribute values and a single geometry.

Features written to the database have the destination table as their feature type, and attributes as defined in User Attributes.

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), the DB2 Spatial module adds the format-specific attributes described below:

Attribute Name

Contents

db2_type

The type of geometric entity stored within the feature. The valid values for the object model are listed below:

db2_nil

db2_point

db2_linestring

db2_polygon

Features read from, or written to, DB2 Spatial also have an attribute for each column in the database table. The feature attribute name will be the same as the source or destination column name. Only uppercase column names are supported.

No Coordinates

Points

Lines

Polygons