Feature Representation
IFF features consist of geometry and attributes of feature. The attribute names are defined in the feature type properties, and there is a value for each attribute in each IFF feature. In addition, each IFF feature contains several special attributes to hold the type of the geometric entity and its display parameters. All IFF features contain the iff_type attribute, which identifies the geometric type.
Depending on the geometric type, the feature contains additional attributes (in addition to the generic FME feature attributes that FME Workbench adds to all features [see About Feature Attributes]) specific to the geometric type. These are described below.
Attribute Name |
Contents |
---|---|
iff_type |
The IFF geometric type of this entity. Range: iff_symbol| iff_line| iff_polygon| iff_text| iff_none Default: No default |
iff_history |
The history of the IFF file. Range: Maximum of 256 characters Default: Blank |
iff_map_area |
The map area. Range: Maximum of 256 characters Default: No default |
iff_map_grid |
The map grid representation Range: Maximum of 256 characters Default: No default |
iff_map_scale |
The map scale. Range: Maximum of 256 characters Default: No default |
iff_map_origin_offset |
The map’s origin offset or local origin. (Read-only) Range: Maximum of 256 characters Default: No default |
iff_map_projection |
The map’s projection as a number. (Read-only) Range: Integer Default: No default |
iff_map_spheroid |
The map’s spheroid as number. (Read-only) Range: Integer Default: No default |
iff_map_units |
The map’s unit. (Read-only) Range: Integer Default: No default |
iff_map_proj_stat |
The map projection status. Range: Maximum of 256 characters Default: No default |
iff_map_aux_grid |
The map auxiliary grid. Range:Maximum of 256 characters Default: No default |
iff_cubic_coef{#} |
The matrix for coordinate transformation. Each list attribute of this type contains 2 numbers that are part of the transformation matrix for the feature. Range: Maximum of 256 characters. Default: No default |
iff_ctrl_pt_nw |
The Northwest control points. Range: Maximum of 256 characters Default: No default |
iff_ctrl_pt_sw |
The Southwest control points. Range: Maximum of 256 characters Default: No default |
iff_ctrl_pt_se |
The Southwest control points. Range: Maximum of 256 characters Default: No default |
iff_ctrl_pt_ne |
The Northeast control points. Range: Maximum of 256 characters Default: No default |
iff_sec_descr |
The section description. Range: Maximum of 256 characters Default: Blank |
iff_layer_num |
The layer number of the feature. (0 is a reserved layer number that is often ignored) Range: 0...32767 Default: 1 |
iff_layer_stat |
The layer status flag (currently not used). Range: Integer Default: 0 |
iff_layer_ptr |
The layer’s pointer to location of matching end of layer marker. Range: Maximum of 256 characters Default: Blank |
iff_serial_num |
The feature serial number. This number is often the same as the iff_seq_num. Range: 0...65535 Default: No default |
iff_seq_num |
The feature internal sequence number. This number is unique and corresponds with creation order. Range: 0...65535 Default: 1 and increment for each new feature |
iff_feat_code |
The feature code number. Range: 0...32767 Default: 0 |
iff_feat_stat |
The feature status. Range: 0...32767 Default: 0 |
iff_proc_code |
The feature type or process code. The last two bits specify the feature type (0 = line, circle, area or symbol string feature, 1 = symbol feature, 2 = text feature, and 3 = value reserved). Range: 0...32767 Default: 0 |
iff_user_word |
The user defined word, this is a reserved field for use by users. Range: Smallint Default: No default |
iff_anc_code{#}.type |
The ancillary code type. Range: 0...32767 Default: No default |
iff_anc_code{#}.value |
The ancillary code value. Range: Maximum of 256 characters Default: No default |
iff_anc_code{#}.text |
The ancillary code text. Range: Maximum of 255 characters Default: No default |
iff_anc_code |
The comma-separated ancillary code list. Range: Maximum of 256 characters Default: No default |
iff_pen_stat |
The pen status. Range: 0 - pen up, 1 - pen down Default: 0 |
iff_junc_blk{#}.sec_num |
The junction block section number. Range: integer Default: No default |
iff_junc_blk{#}.next_jb |
The junction block pointer to the next junction block. Range: Maximum of 256 characters Default: No default |
iff_junc_blk{#}.offset |
The junction block offset number. Range: Maximum of 256 characters Default: No default |
iff_junc_blk{#}.arms_num |
The junction block number of arms. Range: Maximum of 256 characters Default: No default |
iff_junc_blk{#}.x_coord |
The junction block x-coordinate. Range: Double Default: No default |
iff_junc_blk{#}.y_coord |
The junction block y-coordinate. Range: Double Default: No default |
iff_junc_blk{#}.pnt_no |
The junction block string vertex number. Range: Integer Default: No default |
iff_junc_blk{#}.addr |
The junction block address location of the arm coordinates. Range: Maximum of 256 characters Default: No default |
iff_junc_blk |
The comma separated junction block list. (Nested junction block lines are separated by ‘\’s). Range: Maximum of 256 characters Default: No default |
iff_junc_ptr{#}.offset |
The junction pointer junction block offset. Range: Maximum of 256 characters Default: No default |
iff_junc_ptr{#}.addr |
The junction pointer junction block address. Range: Maximum of 256 characters Default: No default |
iff_junc_ptr |
The comma separated junction pointer list. Range: Maximum of 256 characters Default: No default |
iff_void_size |
The size of the void. Range: Integer Default: No default |
Symbol
iff_type: iff_symbol
IFF symbol features are point features that specify a single x and y coordinate in addition to any associated user-defined attributes.
There are no special FME attribute names used to control the IFF symbol settings.
Lines
iff_type: iff_line
IFF line features specify linear features defined by a sequence of x and y coordinates.
The following table lists the special FME attribute names used to control the IFF line settings.
Attribute Name |
Contents |
---|---|
iff_size |
The line thickness. Range: Integer Default: No default |
Text
iff_type: iff_text
IFF text features are used to specify annotation information. Although IFF files can have features that have more than one set of annotation information, only simple text features can be written. The IFF reader is able to read features with more than one set of annotation information by splitting them into separate features. But the IFF writer will not merge these separated features when writing, only features with only a set of annotation information are written.
The following table lists the special FME attribute names used to control the IFF text settings.
Attribute Name |
Contents |
---|---|
iff_rot |
The text label’s rotation. Range: 0.00...360.00 Default: 0 |
iff_text_string |
The text label. Range: Maximum of 256 characters Default: Blank |
iff_size |
The text size. Range: Integer Default: No default |
iff_text_code |
The text code value. Range: Integer Default: No default |
iff_text_cmpnt |
The text component. Range: Integer Default: No default |
iff_text_res1 |
Reserved space for future use. Range: Maximum of 256 characters Default: No default |
iff_text_res2 |
Reserved space for future use. Range: Maximum of 256 characters Default: No default |