MapInfo Extended TAB Feature Representation

MapInfo features consist of geometry and attributes. The attribute names are defined on the feature type and there is a value for each attribute in each FME MapInfo feature.

In addition, each MapInfo FME feature contains several special attributes to hold the type of the geometric entity and its display parameters. All MapInfo FME features contain the mapinfo_type attribute, which identifies the geometric type. All MapInfo 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 Type Attributes), this format also adds format-specific attributes (Format Attributes).

Attribute Name

Contents

mapinfo_type

The MapInfo geometric type of this entity.

Range:

  • mapinfo_point
  • mapinfo_custom_point
  • mapinfo_font_point
  • mapinfo_polyline
  • mapinfo_region
  • mapinfo_ellipse
  • mapinfo_arc
  • mapinfo_collection
  • mapinfo_none

mapinfo_metadata{}.name

mapinfo_metadata{}.value

These list attributes are used to write metadata to the .tab file. On write these name-value pairs will be written out as ‘“name” = “value”’ in the metadata section of the .tab file immediately following the table definition. On read these attributes will be populated from the same metadata section. These attributes accept strings up to 255 characters long.

For metadata writing to function correctly, the number of name attributes should be the same as the number of value attributes.

Note: Since metadata is a feature-type-level concept, the metadata written to the .tab file is determined entirely by the first feature to pass to the feature type. Metadata attributes on following features will be ignored by the writer.

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

Collections