OGC GML SF-0 (Geography Markup Language Simple Features Level SF-0 Profile) Reader/Writer

FME can read and write files in the GML Simple Features Profile format.

Note  This chapter assumes familiarity with GML and the GML Simple Features Profile.

GML is a complex specification declaring a wide number of XML elements for a wide variety of capabilities, including the ability to encode dynamic features, spatial and temporal topology, coverages, and complex geometric types.

The GML Simple Features Profile restricts the wide-scope of GML by specifying a useful subset of GML, supporting features and a limited set of linearly interpolated geometric types, it also simplifies the processing of the XML-Schema by defining strict XML-Schema usage/coding patterns.

The GML Simple Features Profile specifies three compliance levels:

  • SF-0
  • SF-1
  • SF-2

Currently, only compliance level SF-0 is supported for writing.

Reader Overview

This reader supports GML documents conforming to the GML simple features profile.

Multi-value properties – that is, declared with a maxOccurs greater than 1 or unbounded, are supported, and are mapped into list attributes.

GML properties that are defined as complex types are supported – these complex properties are mapped as structured list attributes.

Writer Overview

This writer outputs GML documents conforming to the GML simple features profile. Two XML documents are written: a GML instance and its corresponding GML application schema. The feature types in the GML simple features application schema are controlled by the GMLSF writer’s feature type definitions.

Note  Only compliance level SF-0 is supported for writing.