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

CityJSON features read from the CityJSON Reader are named the same in FME as they are in the application schema. For example, a CityJSON Building will create a feature type named Building in FME.

Common and feature-specific attributes are as follows.

Attribute Name

Description

fid

The unique identifier for each feature. This attribute must be defined, and must be unique in the dataset scope.

cityjson_lod

The level of detail of the geometry/geometries.

Range: 0.0...4.3

Details: See CityJSON Geometry Objects.

This attribute needs to be a Geometric Trait of the geometry in FME.

cityjson_parents

Provides a list of the parents of the City Object, if any.

Each of the parents are of the type string.

Details: See CityJSON City Objects.

cityjson_children

Provides a list of the children of the City Object, if any. Each of the children are of the type string.

Details: See CityJSON City Objects.

Additional attributes depend on the feature type.

For more information on all possible features, see the documentation on CityJSON Object > City Object.