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 section.
The xml_type attribute identifies the FME GML geometry. The valid values for this attribute are:
xml_type |
Description |
---|---|
xml_no_geom |
FME Feature with no geometry |
xml_point |
Point feature |
xml_line |
Linear feature |
xml_arc |
Arc feature |
xml_area |
Areal feature, may be a donut |
Other attributes, including the feature’s feature type, are dependent on the GML application schema.
It is possible to control the name and position for the GML geometry properties for a GML feature type, see DEF Lines for details.
No Geometry
xml_type: xml_no_geom
Features having their xml_type attribute set to xml_no_geom do not contain any geometry data.
Points
xml_type: xml_point
Features having their xml_type set to xml_point are single coordinate features.
Lines
xml_type: xml_line
Features having their xml_type set to xml_line are polyline features and have at least two coordinates.
Arcs
xml_type: xml_arc
Features having their xml_type set to xml_arc are circular arc segments.
Areas
xml_type: xml_area
Features having their xml_type set to xml_area are either a single closed polyline feature (simple closed polygon), a donut, or an aggregate of donuts (and/or simple polygons). A simple closed polygon contains at least four coordinates, with the first and last coordinate being equal.