Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format adds the format-specific attributes described in this topic.

WhiteStar entities define polylines, polygons, and labels (text). Each FME feature can represent an aggregate of polylines, an aggregate of polygons, or a single label. The feature type of a WHITESTAR feature will be one of the values LINE, POLYGON, or TEXT, to specify which type of geometry is being represented.

All WhiteStar features have the following attributes defined:

Attribute Name

Value

wht_type

Specifies what type of data the feature is representing. Established values are: wht_polyline, wht_polygon, and wht_label.

wht_entity_type

This attribute holds the string that is placed on the entity header. By default this is POLYLINE or TEXT, but the writer will output this attribute’s value if it is specified.

wht_major_code

Major attribute code from entity header corresponding to the feature.

Range: 0..999

wht_minor_code

Minor attribute code from entity header corresponding to the feature.

Range: 0..9999

When writing WhiteStar data, default values are supplied for wht_major_code and wht_minor_code when needed. The value for wht_major_code defaults to “200” (“manmade”), and wht_minor_code defaults to a value of “0300”, “0100”, or “0200”, depending on the geometry type (point, area, and line, respectively).

In addition to the above, label features have additional attributes. The following subsections describe the structure of each type of WhiteStar feature.