CityJSON Writer Parameters

Specifies the version of CityJSON to be written.
Currently, the only available option is the latest version: 1.0.1. These options will be expanded in a future version.

CityJSON uses the indexing mechanism of the format Wavefront OBJ format (among others) for the geometries. That is, a geometry does not store the (x, y, z) of its vertices, but points to a vertex in a list (property "vertices" in the CityJSON Object).
When set to Yes, this option removes the duplicates.

CityJSON offers the possibility to compress files by using “quantization” of the vertices. For information, see the CityJSON Transform Object.
The compression uses a translation (scale and offset) so that the coordinates can be stored in a more efficient manner.

Specifies how to prepopulate the schema.
- 1.0.1 will add all available feature types available for CityJSON 1.0.1. A Select Feature Types dialog will open at the end of writer creation, from which you can select/deselect feature types.
- None will not add any feature types to the schema, and the schema must be manually populated.

Specifies the preferred format for associated texture files.
Possible values are:
- Auto (default) – Will try to preserve any JPEGs as JPEGs, and save everything else as PNGs.
- PNG – Will save everything as PNGs.
- JPEG – Will save everything as JPEGs.
If the preferred format is ignored, a message is added to the log file. Possible reasons that the preference will be ignored include a lack of raster palette support, alpha channel support, or color depth support in the selected format.
Formatting Parameters

Specifies how to arrange the line breaks in the output file.
- Linear will put everything on a single line, with no line breaks.
- Pretty Print will break the output across multiple lines, allowing for easier reading by humans.

Specifies how many indent characters to use when formatting with the Pretty Print option.

Specifies which character to use for indenting with Pretty Print formatting. Options comprise Spaces and Tabs.

Specifies how many digits to preserve after the decimal. Trailing zeros will be dropped.