Feature Representation
In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), this format adds the format-specific attributes described in this topic.
DSFL features consist of geometry and attributes. When reading-in a feature, the DSFL reader holds a set of currently active DSFL data fields. These active data fields are controlled by definitions of the %D token, found in the DSFL input file. The active data fields are given as attributes to the feature being read. The active set of data fields may be empty. In this case, the feature has no DSFL data fields attributes. The name for these attributes are of the form Dx, where x is a positive integer.
If the feature references any of the accuracy and origin definitions processed at the beginning of the file, these definitions will also become attributes for the referencing feature.
All DSFL features contain a dsfl_type attribute that identifies the geometric type. Depending on the geometric type, the features may contain additional attributes that are specific to them.
Attribute Name |
Contents |
dsfl_type |
The DSFL geometric type of this feature. Range: dsfl_point dsfl_line dsfl_polygon dsfl_text dsfl_aggregate dsfl_none dsfl_header dsfl_origin Default: No default |
General Attributes
Attributes specific to each dsfl_type are described below. All DSFL features, except those features having dsfl_text and dsfl_header as the value of their dsfl_type, may contain the following attributes:
Attribute Name |
Contents |
dsfl_class |
This is the DSFL feature code class. |
dsfl_subclass |
This is the DSFL feature code subclass. |
dsfl_origin_ND1 |
Acronyms for production, also known as data generation, Range: DU | DF | DL | SK | SL | UU | FF | LL Default: No default |
dsfl_origin_ND11 |
Standard deviation for plane coordinates, in metres with decimals. Default: No default |
dsfl_origin_ND12 |
Standard deviation for height coordinate, in metres with decimals Default: No default |
dsfl_origin_ND21 |
Date of base map generation Range:yymmdd Default: No default |
dsfl_origin_ND22 |
Date of land surveying Range: yymmdd Default: No default |
dsfl_origin_ND23 |
Date for photo flight Range: yymmdd Default:No default |
dsfl_origin_ND32 |
Scale of photogrammetric photos Default: No default |
dsfl_origin_ND41 |
Producer of digital data Range: String, maximum 40 characters Default: No default |
dsfl_origin_ND51 |
Descriptive text Range: String, maximum 40 characters Default: No default |
Points
DSFL point features specify a single x and y coordinate for two-dimensional (2D) data or a single x, y, and z coordinate for three-dimensional (3D) data. Point features may have the following additional special attributes associated with them.
Attribute Name |
Contents |
dsfl_point_rotation |
DSFL angles are defined as grades. The DSFL reader automatically converts these into degrees. The degrees are measured counterclockwise from horizontal. Range: 0.0 .. 360.0 Default: 0.0 |
Z |
When the DSFL data is 3D, the dsfl_point will contain this attribute having as its value the third, or z, coordinate of the point. |
Lines
DSFL line features specify linear features by a sequence of x and y coordinates for 2D data or by a sequence of x, y, and z coordinates for 3D data.
Polygons
DSFL polygon features specify polygon features by a sequence of x and y coordinates for 2D data or by a sequence of x, y, and z coordinates for 3D data. The first and last coordinates of the polygon are equal.
Text
DSFL text features are used to specify annotation information. Each text feature has a single x and y coordinate for 2D data or a single x, y, and z coordinate for 3D data. The following table lists the special FME attribute names for the DSFL text feature.
Attribute Name |
Contents |
dsfl_text_code |
The DSFL data field code. |
dsfl_text_value |
The value for the DSFL data field. |
dsfl_rotation |
DSFL angles are defined as grades. The DSFL reader automatically converts these into degrees measured counterclockwise from horizontal. Range: 0.0 .. 360.0 Default: 0.0 |
dsfl_text_justification |
Indicates the position of the text coordinate in relation to the text. Range: dsfl_top_left | dsfl_top_center | dsfl_top_right | dsfl_middle_left | dsfl_middle_center | dsfl_middle_right | dsfl_bottom_left | dsfl_bottom_center | dsfl_bottom_right Default: No default |
Aggregate
DSFL aggregates are a collection of dsfl_line or dsfl_polygon features.
The geometry of the dsfl_aggregate feature is homogeneous. The dsfl_type attribute of this feature will be set to dsfl_polygon if all composing features are polygons. If all composing features are lines, it will be set to dsfl_line.
None
This is a DSFL feature with no geographic representation.
Header
This DSFL feature contains the metadata stored in the header section for the input DSFL file. The feature contains no geometry.
The following table lists the attributes that this feature contains. In essence, all header tokens with their values become attributes for this feature.
Attribute Name |
Contents |
H0 |
Character string specifying the three special Danish characters in upper- and lowercase. |
H1 |
Plane coordinate system—this value is used to set the coordinate system on the features Range: S34J | S34S | S45B | U32 | U33 | U32W | U33W | LOK |
H2 |
Acronym for the height coordinate system Range: DNNGI |
H3 |
Coordinate sequence Range: XY | XYZ | YX | YXZ | NE | NEH |
H9 |
Specific value for “no available height” Range: Real |
H11 |
Supplier’s company name Range: String |
H12 |
Supplier’s address Range: String |
H13 |
Supplier’s postal code Range: String |
H14 |
Supplier’s postal district Range: String |
H15 |
Supplier’s phone number Range: String |
H16 |
Supplier’s fax number Range: String |
H41 |
Date and time of generation for the data set Range: yymmdd hhmm |
H58 |
Data content Range: Basis-udgave 970901 for the DSFL basic format |
H59 |
Version date of DSFL format Range: yymmdd |