Feature Representation

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).

Each feature returned by the GenaMap reader has its feature type set to the name of the input map. All GenaMap FME features contain the genamap_type attribute that identifies the geometric type.

Attribute Name Contents

genamap_type

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

genamap_point

genamap_line

genamap_area

genamap_text

General Attributes

All GenaMap FME features contain the following attribute:

Attribute Name Contents

genamap_tag

The primary GenaMap attribute.

Type 4 and Type 5 maps carry the additional attribute:

Attribute Name Contents

genamap_symbology_id

The GenaMap symbolization pointer value.

Points

genamap_type: genamap_point

GenaMap point features specify point features defined by a single x,y or x,y,z coordinate.

Lines

genamap_type: genamap_line

GenaMap line features specify linear features defined by a sequence of x,y or x,y,z coordinates.

Polygons

genamap_type: genamap_polygon

GenaMap polygon features specify area (polygonal) features. The polygon may contain holes.

Text

genamap_type: genamap_text

The GenaMap text features are extracted from GenaMap Type 10 maps. Each text feature has a single x and y coordinate. The text coordinate point is located at the lower left of the text string. The original GenaMap origin point and justification are also stored in the text features as the attributes genamap_original_x, genamap_original_y, and genamap_original_justification. Text features have the following special attributes associated with them.

Attribute Name Contents

genamap_text_string

The text string.

Range: Any character string

genamap_rotation

The rotation of the text measured in degrees counterclockwise from horizontal.

Range: 0...360

genamap_width

The width of each text in ground units.

Range: Any real number >= 0

genamap_height

The height of each text in ground units.

Range: Any real number >= 0

genamap_original_

justification

The original GenaMap alignment of the text based on the original GenaMap text origin point.

Range:

upper_left |

upper_center |

upper_right |

center_left |

center_middle |

center_right |

lower_left |

lower_center |

lower_right

genamap_original_x

The original GenaMap text origin point x coordinate.

genamap_original_y

The original GenaMap text origin point y coordinate.

genamap_char_
rotation

The rotation of each character in the text string measured in degrees counterclockwise from the horizontal.

Range: 0...360

genamap_slant

The slant for each character in the text string.

A negative angle gives a clockwise slant; a positive angle gives a counterclockwise slant.

Range: -90...90

genamap_font

The GenaMap lettering style.

Range: Any valid GenaMap system font.

integer >= 0

genamap_color

The GenaMap color of the text.

Range: GenaMap color index.

integer >= 0