OGC CityGML Reader/Writer

The OpenGIS® City Geography Markup Language (CityGML) module enables FME to read and write files in the CityGML format.

This documentation assumes familiarity with GML and the CityGML format.


CityGML is an XML-based format for the storage and exchange of 3D urban models. It extends Geography Markup Language 3 (GML3) through an application schema.

This schema specification can be found at the CityGML website http://www.citygml.org/.

Reader Overview

This reader supports CityGML datasets conforming to the CityGML 2.0, 1.0, 0.4.0, and 0.3.1 application schemas.

The CityGML reader reads all parts of the Thematic and Appearance CityGML models with the exception of the Digital Terrain Models (DTMs) ImplicitGeometry and xlink:href resolution.

To read datasets that contain Application Domain Extension (ADE) elements other than those that belong in NoiseADE, the parameter Reader Driven by CityGML Schema must be set to Yes.

In addition, the dataset must contain a schemaLocation attribute and its values must contain valid full or relative schema paths. Alternatively, schema files for the ADE can be specified in the parameter Additional ADE Schema File(s) if schemaLocation is not present.

For more details, see CityGML Reader Parameters.

Writer Overview

This writer currently supports writing of the CityGML 2.0, 1.0, and 0.4 spec.

The Noise Application Domain Extension (NoiseADE) is supported for writing for 0.4. All other ADEs including NoiseADE are also supported in version 2.0 and 1.0.

The writer can be populated with all possible CityGML feature types by importing feature type definitions from files found in the


subfolder of the FME installation.

Importing feature type definitions from


will create feature type definitions for all supported types in the CityGML 1.0 and 0.4 spec, and


will additionally create definitions for the Noise Application Domain Extension feature types.