OGC CityGML 3 User Attributes

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).

OGC CityGML 3 Attribute Types

CityGML 3 attribute types are usually prefixed with either gml_ or xml_.

XML Type

The geometry of the CityGML 3 feature may be identified by its xml_type attribute. The valid values for this attribute are listed in the table below.

xml_type

Geometry

Description

xml_aggregate

Collection

Features having their xml_type set to xml_aggregate are complex geometries. Each component of an aggregate may be any of the types listed in this section, including xml_aggregate (that is, an aggregate may contain aggregate components).

xml_line

Line

Features having their xml_type set to xml_line are polyline features and have at least two coordinates or aggregates of polyline features.

xml_no_geom

No Geometry

Features having their xml_type set to xml_no_geom do not contain any geometry data.

xml_point

Area

Features having their xml_type set to xml_point are single coordinate features or aggregates of single coordinate features.

xml_solid

Point

Features having their xml_type set to xml_point are single coordinate features.

xml_surface

 

Features having their xml_type set to xml_surface are surfaces. They may be simple, topologically contiguous surfaces or aggregates of surface features.

CityGML 3 – Specific Attributes

Other attributes depend on the feature type. Common and feature-specific attributes are listed in the tables below.

Common Attributes

Attribute Name

Contents

gml_id

The unique identifier for each feature. This attribute must be unique in the dataset scope. If you already have an id in your data (my_id), you can use a prefix to make it unique.

gml_parent_id

The unique identifier representing the feature’s parent in the hierarchy. This must reference another feature in the dataset.