Feature Representation

Features read from DB2 Spatial consist of a series of attribute values and geometry. The feature type of each Database feature is as defined on its DEF line.

Features written to the database have the destination table as their feature type, and attributes as defined by on the DEF line.

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. The attribute and column names are not case-sensitive.

No Coordinates

Points

Lines

Polygons