OGC CityGML 3 Reader Parameters
Application Schema
XSD/ADE Selection
Application Schema
This optional parameter specifies the location of the CityGML XSD Schema documents.
xsi:schemaLocation
This optional parameter specifies the location of the XSD Schema documents via whitespace-separated namespace-URI and xsd-location-URL pairs, following the same syntax as the xsi:schemaLocation attribute.
Settings
Appearance Themes
CityGML allows different thematic views in the same dataset, whereas FME geometries can have a single back and/or front FME Appearance.
This optional parameter scans the specified CityGML dataset file looking for available Appearance Themes. The selected Theme will be given priority when the CityGML textures and materials are applied to the front and/or back side of the FME geometries.
GML SRS Axis Order
Overrides the axis order when reading coordinate tuples in a CityGML <pos> or <posList> element. Valid values are "1,2", "2,1", “1,2,3” and “2,1,3”.
The legal values for this parameter are white-space-separated XML namespace declarations as they would appear in an XML element.
XML Namespace Declarations
The legal values for this parameter are white-space-separated XML namespace declarations as they would appear in an XML element.
This parameter allows different namespace declarations to be used, other than the ones extracted from the parsed XSD documents.
Add XML Namespace Prefix to
The FME feature type and/or attribute names may include the XML Namespace prefixes used in the XSD schemas. The prefix will be separated from the names by an underscore.
By default, the prefixes are not added to the names.
- Feature Types – Includes the prefixes in the feature types. Setting this parameter to Feature Types is necessary if the XSD Schema contains feature types with the same name in different namespaces.
- Feature Types and Attributes – Includes the prefixes in both the feature types and attributes.
Map Complex Properties as
Specifies whether GML properties that are defined as a complex type with complex content (that is, those that have embedded children elements) should be mapped as Nested Attributes within FME features.
If the value is set to XML Fragments, then the complex properties with complex content are mapped as XML fragments.
Some complex properties, such as those that are recursively defined, cannot be mapped as nested lists. These complex properties will always be mapped as XML fragments, regardless of the setting for this parameter.
Limit Number of Lists in Nested Attributes
This optional parameter applies only when Map Complex Properties as is set to Nested Attributes. It controls how many levels of nested list attributes are preserved before deeper levels are converted into XML fragments.
Restrict Feature Types to Dataset
- Yes (default) – Only the feature types present in the dataset will be created.
- No – All feature types defined in the CityGML core and any additional schema files will be created, regardless of whether they appear in the dataset.
Map Geometry Columns
Specifies whether the CityGML geometric properties should be represented as attributes in the FME feature type definitions.
- Yes (default) – The feature type definitions will contain the geometry names as attributes, and their type is set to xml_geometry. If an attribute X has its type set to xml_geometry, this attribute X becomes a placeholder in the feature type definition. It is a placeholder because actual data features for the feature type definitions will not have this attribute; instead, the data features will have a geometry named “X”.
- No – The feature type definition will not contain geometry names.
Validate Dataset
Determines whether the reader should validate the specified dataset against the XSD schema.
Read <gml:boundedBy>
Specifies whether the predefined <gml:boundedBy> property should be processed.
- Yes – When this parameter box is checked, 2D bounding boxes are always interpreted as polygons. 3D bounding boxes can be interpreted as a polygon, a solid, or a wireframe; see the 3D Envelope As parameter for details.
- No (default) – When this parameter box is left unchecked, the <gml:boundedBy> element will be ignored.
3D Envelope As
Determines how a 3D <gml:boundedBy> envelope is interpreted when enabled.
Polygon |
Uses the lower and upper X,Y,Z coordinates to create a polygonal footprint. The Z values are discarded. |
Solid (default) |
Interprets the coordinates as a solid box geometry. |
Wireframe |
Interprets the coordinates as a multicurve representing the wireframe of a solid box geometry. |
Generic Attributes

Model Generic Attributes
Generic attributes are read as nested list attributes in both CityGML 2.0 and CityGML 3.0, setting this parameter to As Explicit Attributes instructs the reader to scan the dataset for generic attributes to extract the name, value and type of the generic attributes into regular FME attributes.
For example the following CityGML 3.0 generic string attribute:
<gen:StringAttribute>
<gen:name>architect</gen:name>
<gen:value>Frank Lloyd Wright</gen:value>
</gen:StringAttribute>
can be explicitly modeled as the FME attribute with name architect, type xml_buffer, and value Frank Lloyd Wright.
Generic Attribute Prefix
Adds the specified prefix to the explicitly mapped generic attribute name.
Schema Attributes

Use this parameter to expose Format Attributes in FME Workbench when you create a workspace:
- In a dynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario, this parameter allows you to expose additional attributes on multiple feature types. Click the browse button to view the available format attributes (which are different for each format) for the reader.