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).
DLG features consist of geometry, linkages, and attribute code information. All DLG FME features contain the dlg_type attribute, which identifies the geometric type as well as several other standard attributes and are listed in the following table.
Attribute Name |
Contents |
dlg_type |
The DLG geometric type of this entity. Range: dlg_point| Default: No default |
dlg_element_number |
The element's internal identification number. The numbers are unique, positive, and sequential within each element type. Range: 1 - 32000 |
dlg_record_type |
The character element type of the feature. Valid values include: N = Node Element L = Line Element A = Area Element |
dlg_num_text_characters |
Number of pairs of text characters attached to the feature. Although this field is present within the DLG format, it is not currently used. Range: 1 - 32000 |
dlg_linkage{#} |
A list of linkages. These values refer to the features by their dlg_element_number. These linkages have different uses depending on their context. For example, a linkage list on an area feature refers to the line features that form the boundary of the area. Note: For area features, linkages with a value of zero are not included in this list. Range: 1 - 32000 |
dlg_num_attribute_codes |
Number of attribute codes attached to the feature. Range: 1 - 32000 |
dlg_attribute_code{#}.major |
A list of major attribute codes. This list will have a maximum of 12 entries. Range: 0 - 999 |
dlg_attribute_code{#}.minor |
A list of minor attribute codes. This list will have a maximum of 12 entries. Range: 0 - 9999 |
dlg_attribute_code{#}. padmajor |
This list is identical to the dlg_attribute_code{#}.major list except all values in this list are padded with zeros to exactly three character places. For example, if dlg_attribute_code{0}.major was 90, dlg_attribute_code{0}.padmajor would be 090. Range: 000 - 999 |
dlg_attribute_code{#}. padminor |
This list is identical to the dlg_attribute_code{#}.minor list except all values in this list are padded with zeros to exactly four character places. For example, if dlg_attribute_code{0}.minor was 214, dlg_attribute_code{0}.padminor would be 0214. Range: 0000 - 9999 |
dlg_attribute_code{#}. partminor1 |
This list contains the first character of the corresponding entry in the dlg_attribute_code{#}.padminor list. For example, if dlg_attribute_code{0}.padminor was 0214, dlg_attribute_code{0}.partminor1 would be 0. Range: 0 - 9 |
dlg_attribute_code{#}. partminor2 |
This list contains the second character of the corresponding entry in the dlg_attribute_code{#}.padminor list. For example, if dlg_attribute_code{0}.padminor was 0214, dlg_attribute_code{0}.partminor2 would be 2. Range: 0 - 9 |
dlg_attribute_code{#}. partminor34 |
This list contains the third and fourth characters of the corresponding entry in the dlg_attribute_code{#}.padminor list. For example, if dlg_attribute_code{0}.padminor was 0214, dlg_attribute_code{0}.partminor34 would be 14. Range: 0 - 9 |
dlg_code_list |
A text string containing all major and minor codes assigned to this feature, in the following format: Range: <empty string> | <code list> For example, if the feature had major and minor code pairs of 180/201, 180/605, and 180/210, the string value of dlg_code_list attribute would be “(180-201,180-605,180-210)” |
Depending on the geometric type, the feature may contain additional feature coding attributes specific to the geometric type. These are described in subsequent sections.