OGC GML v2.1.2 (Geography Markup Language) 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).

The geometry of FME GML features may be identified by its xml_type attribute. 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_area

Areal feature, may be a donut

xml_text

Text feature

Other attributes, including the feature’s feature type, are dependent on the mappings that are in an xfMap document.

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.

Area

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.

Text

xml_type: xml_text

These are annotation features.