Text

strumap_type:strumap_displayed_text

StruMap displayed text features are used to specify annotation information. Each text feature has a location defined by a single point geometry, and can have its text string, style, justification, and rotation angle set independently.

下表列出了FME attribut特殊e names used to control theStrumap_display_textsettings.

Attribute Name

Contents

strumap_attr_code

A text string representing the attribute short code as defined in the rule file.

strumap_attr_value

A text string containing the value of the attribute.

strumap_height

The height of thestrumap_attr_valuein ground units.

strumap_width

The width of thestrumap_attr_valuein ground units.

strumap_red

The red color component of thestrumap_attr_value.

strumap_green

The green color component of thestrumap_attr_value.

strumap_blue

The blue color component of thestrumap_attr_value.

strumap_angle

The angle at which thestrumap_attr_valueis displayed.

strumap_position

The justification of thestrumap_attr_value.

Range:

0 (not set) |

1 (bottom left) |

2 (center left) |

3 (top left) |

4 (bottom center) |

5 (center center/ original position) |

6 (top center) |

7 (bottom right) |

8 (center right) |

9 (top right)

Default:No default

strumap_min_length

The minimum length of span on which to display bubble.

Range:Positive real numbers

Default:0

strumap_circle

Indicates that an ellipse should be drawn instead of a box.

Range:true

Default:false

strumap_box

Indicates that a box should be drawn.

Range:true

Default:false

strumap_solid

Indicates that the ellipse or the box should be filled.

Range:true

Default:false

strumap_line

Indicates that a line should be drawn from the text to the item.

Range:true

Default:false

strumap_arrow

Indicates that an arrow should be drawn on a line.

Range:true

Default:false