Feature Representation

MIF features consist of geometry and attributes. The attribute names are defined in the DEF line and there is a value for each attribute in each MIF feature. In addition, each MIF feature contains several special attributes to hold the type of the geometric entity and its display parameters.

All MIF features contain the mif_type attribute, which identifies the geometric type. All MIF features may contain either or both of the fme_color and fme_fill_color attributes, which store the color and fill color of the feature, respectively.

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

Attribute Name

Contents

mif_type

The MIF geometric type of this entity.

Range:

mif_point

mif_polyline

mif_region

mif_text| mif_ellipse

mif_arc

mif_rectangle

mif_rounded_rectangle

mif_collection

mif_none

Default: No default

fme_color

A normalized RGB triplet representing the color of the feature, with format r,g,b.

Range: 0,0,0 to 1,1,1

Default: No default

fme_fill_color

A normalized RGB triplet representing the fill color of the feature, with format r,g,b.

Range: 0,0,0 to 1,1,1

Default: No default

Points

Font Points

Custom Points

Multipoints

Polylines

Regions

Text

Ellipse

Arc

Rectangle

Rounded Rectangle

Collection