CityGML-Specific Export Options¶
The CityGML exporter in the 3DCityDB Tool provides options specific to exporting data in the CityGML format. These options allow users to customize version compatibility, apply transformations, and manage feature mappings.
CityGML-Specific Options¶
Option | Description | Default Value |
---|---|---|
-v , --citygml-version=<version> |
Specify the CityGML version for the export: 3.0 , 2.0 , or 1.0 . |
3.0 |
-x , --xsl-transform=<stylesheet> |
Apply one or more XSLT stylesheets to transform the exported CityGML file. Separate multiple stylesheets with commas. | |
--use-lod4-as-lod3 |
Replace existing LoD3 geometries with LoD4 geometries during the export. | |
--map-lod0-roof-edge |
Map LoD0 roof edge lines onto roof surfaces for better representation in the output. | |
--map-lod1-surface |
Map LoD1 multi-surfaces onto generic thematic surfaces to simplify LoD1 geometries. |
Examples for CityGML Export Options¶
Below are practical examples demonstrating how to use CityGML-specific options in the 3DCityDB Tool.
1. Export with a Specific CityGML Version¶
To export data in CityGML version 2.0 format:
Apply XSLT Stylesheets for Transformation¶
To apply one or more XSLT stylesheets during the export process:
This applies transform1.xsl and transform2.xsl sequentially to the export.
Replace LoD3 with LoD4 Geometries¶
To replace existing LoD3 geometries with LoD4 geometries during the export:
Map LoD0 Roof Edges to Roof Surfaces¶
To include LoD0 roof edge lines as part of roof surfaces in the export:
Map LoD1 Multi-Surfaces to Generic Surfaces¶
To restructure LoD1 multi-surfaces into thematic surfaces for better alignment:
This simplifies LoD1 geometries for tools that require a clearer surface structure.