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

IEPS features consist of geometry but no user-defined attributes, although there are special attributes to hold the type of the geometric entity and its display parameters. The feature type of a feature written to IEPS is used to specify its layer in the output Adobe Illustrator file.

All IEPS features contain a ieps_type attribute, which identifies the geometric type. Each element type also has a color associated with it. Depending on the geometric type, the feature contains additional attributes specific to the geometric type. These are described in subsequent sections.

Attribute Name

Contents

ieps_type

The IEPS geometric type of this entity.

Range: ieps_polyline| ieps_area| ieps_text| ieps_point

Default: No default

ieps_cmyk_color

This is a string that represents the color intensities of the element. It is formatted as cyan (C), magenta (M), yellow (Y) and black (K), This color attribute has highest priority. If present, it will be used in preference over ieps_color and fme_color attributes.

Range: String. (0..1, 0..1, 0..1, 0...1)

Default: String (0,0,0, 1)

ieps_cmyk_fill_color

This is a string that represents the fill color intensities of the element. It is formatted as cyan (C), magenta (M), yellow (Y) and black (K), This color attribute has highest priority. If present, it will be used in preference over ieps_fill_color and fme_fill_color attributes.

Range: String. (0..1, 0..1, 0..1, 0...1)

Default: String (0,0,0,1)

ieps_color

This is a string that represents the color intensities of the element. It is formatted as red, green, blue intensities which range between 0..1 Note that if this attribute is not found, then fme_color will be used.

Range: String. (0..1, 0..1, 0..1)

Default: String (0,0,0)

ieps_fill_color

This is a string that represents the color intensities of the element. It is formatted as red, green, blue intensities which range between 0..1. If this attribute is not found, then the writer will refer to fme_fill_color.

Range: String. (0..1, 0..1, 0..1)

Default: None

ieps_url

Allows you to attach a URL to a feature. The URL should be formatted as http://www.safe.com.

Range: String

Default: No Default

ieps_dash_on

The number of pixels to be used as the on part of the dashed line used to draw the feature. If ieps_pen_linewidth is specified, then this value is multiplied by the size of the pen to determine the number of pixels. If both ieps_dash_on and ieps_dash_off are 0, then a solid line is used.

Range: Integer > 0

Default: 0

ieps_dash_off

The number of pixels to be used as the off part of the dashed line used to draw the feature. If ieps_pen_linewidth is specified, then this value is multiplied by the size of the pen to determine the number of pixels. If both ieps_dash_on and ieps_dash_off are 0, then a solid line is used.

Range: Integer > 0

Default: 0

ieps_line_join_type

Specify the type of corner that should be drawn onto this path.

0 = sharp corners, 1 = rounded corners, 2 = butt-end corners

Range: 0, 1, 2

Default: 0

Optional: Yes

ieps_line_cap_type

Specify the type of caps on line ends. 0 = butt end caps, 1 = rounded end caps, 2 = square end caps

Range: 0, 1, 2

Default: 0

Optional: Yes

ieps_locked_flag

This determines whether or not the feature can be selected for editing when the document is opened in Adobe Illustrator. If set to 0, the feature can be selected for editing. If set to 1, the feature is locked and cannot be selected.

Range: 0, 1

Default: 0

Optional: Yes

Areas

ieps_type: ieps_area

IEPS polygon features specify area (polygonal) features. The areas that make up a single feature may or may not be disjoint, and may contain polygons that have holes. Each area has a pen style associated with it to control the color, line weight, line type, and brush pattern used when it’s drawn. If the area contains holes then when the fill pattern is applied, the holes enclosed by the area will not be filled. If no pen style is defined for a polygon entity, the previous style is used.

The following table lists the special FME attribute names used to control the IEPS polygon settings.

Attribute Name

Contents

ieps_line_width

Defines the line width used to draw the polyline. By default, the line is drawn one pixel wide.

Range: Float >= 0

Default: 0.0 (the thinnest line that can be rendered at device resolution, i.e. 1 pixel wide)

Polylines

ieps_type: ieps_polyline

IEPS polyline features specify linear features defined by a sequence of x and y coordinates. Polylines encapsulate the concept of a line, since a line is just a sequence of two points. Each polyline has a pen style associated with it that specifies the color, line weight, and line type used when the line is drawn. If no pen type is defined for a polyline entity, if line attributes aren’t found, then default parameters are used.

The table below lists the special FME attribute names used to control the IEPS polyline settings.

Attribute Name

Contents

ieps_line_width

Defines the line width used to draw the polyline. By default, the line is drawn one pixel wide.

Range: Float >= 0

Default: 0.0 (the thinnest line that can be rendered at device resolution, i.e. 1 pixel wide)

Text

ieps_type: ieps_text

IEPS text is used for text annotation in IEPS. The coordinates specify the lower left coordinates of the text when it is placed. In addition, the size and angle in which the text is output can be specified.

The table below lists the special FME attribute names used to control the IEPS text:

Attribute Name

Contents

ieps_size

The size of the text specified in ground units

Range: float > 0

Default: 0

ieps_illustrator_size

The size of the point text specified in points. If this is set, it will override the ieps_size value.

Range: float > 0

Default: 12pt

ieps_rotation

The text rotation is given in degrees and measured counterclockwise up from the horizontal.

Range: -360..360

Default: 0

ieps_font

The PostScript name of the font. The fonts supported depend on the destination of the IEPS file. Some typical fonts are Times, Helvetica, and Courier.

Range: String

Default: NewBaskerville

ieps_style

The style of the font. This attribute must be matched with the current font since IEPS recognizes a combination of style/font.

See Text Style in IEPS Writer Parameters for examples of typical fonts and styles.

Range: String

Default: Bold

ieps_text_string

The text to be displayed.

Range: String

Default: No default

ieps_text_width

Defines the line width used to stroke the text. By default, the stroked line is drawn one pixel wide.

Range: Float >= 0

Default: 0.0 (the thinnest line that can be rendered at device resolution, i.e. 1 pixel wide)

ieps_render_type

This determines how the text is output.

0 = filled, 1 = stroked, 2 = stroked and filled

Range: 0,1,2

Default: 2

Point

ieps_type: ieps_point

IEPS point is used for point annotation in IEPS. Points will be represented as text. By default, a symbol will be represented by a period.

Attribute Name

Contents

ieps_size

The size of the point text specified in ground units

Range: float > 0

Default: 0

ieps_illustrator_size

The size of the point text specified in points. If this is set, it will override the ieps_size value.

Range: float > 0

Default: 12pt

ieps_rotation

The text rotation is given in degrees and measured counterclockwise up from the horizontal.

Range:-360..360

Default: 0

ieps_font

The PostScript name of the font. The fonts supported depend on the destination of the IEPS file. Some typical fonts are Times, Helvetica and Courier.

Range: String

Default: NewBaskerville

ieps_style

The style of the font. This attribute must be matched with the current font since it’s the combination of font and style that IEPS recognizes.

See Text Style in IEPS Writer Parameters for examples of typical fonts and styles.

Range: String

Default: Bold

ieps_symbol_string

The text to be displayed.

Range: String

Default: “.”

ieps_symbol_width

Defines the line width used to stroke the text. By default, the stroked line is drawn one pixel wide.

Range: Float >= 0

Default: 0.0 (the thinnest line that can be rendered at device resolution, i.e. 1 pixel wide)

ieps_render_type

This determines how the text is output.

0 = filled, 1 = stroked, 2 = stroked and filled

Range: 0,1,2

Default: 2