Database Export
A Database Export Task exports features from one of the configured databases to a ZIP file.
Step 1 (Task name)
| Option | Description |
|---|---|
Task Name |
Name of the task. |
Create or overwrite Datasource |
Select whether to create a new datasource or overwrite an existing one |
Datasource Name |
If an existing data source is to be overwritten, select the source here. |
Click NEXT STEP to continue.
Step 2 (Database)
In this step, the source database for the export process must be selected.
Select Database
Choose the database from which the data will be exported.
The system lists the available configured databases. Select the appropriate one from the dropdown menu.
|
If the required database is not listed, it must first be configured in the administration section. See Database Management for instructions on how to create and manage database connections. |
Validate Connection to Database
After selecting the database, click Validate Connection to Database to verify that the connection is working properly. This validation is optional but recommended.
This step ensures:
-
The database is reachable
-
Credentials are correct
-
The export task can be executed without connection issues
Once the connection is successfully validated, click NEXT STEP to continue.
Step 3 (Task settings)
In this step, configure the output file and the export options.
Output File
Choose a name for the output archive (for example, my-export).
The export result is provided as a .zip archive for download.
If the export includes texture images, they are included in the archive under appearance. If the export includes library objects used by implicit geometries, they are included under library-objects.
|
Version
Select the version of the chosen export format.
| The available versions depend on the selected database (VCDB 4 vs VCDB 5). |
| Option | Description | Default value |
|---|---|---|
CityGML version |
|
VCDB 4: 2.0; VCDB 5: 3.0 |
CityJSON version |
|
VCDB 4: 1.0; VCDB 5: 2.0 |
| Exporting CityGML data to a version different from the one originally imported may lead to data loss because CityGML versions are not fully compatible. Content that cannot be converted automatically is skipped. For details, refer to the VC Database documentation on compatibility and data migration. |
Exporting to CityJSON
For VCDB 5 databases, CityJSON exports for version 1.1/2.0 are generated as CityJSON Text Sequence (CityJSONSeq). This supports streaming large exports by writing one CityJSONFeature object per line. CityJSON 1.0 does not support streaming/CityJSONSeq and is therefore recommended only for smaller datasets.
|
For large exports, consider using the Filter Options of this task to reduce the export size.
Export Options
These settings control performance and processing behavior.
| Option | Description | Default value | VCDB 4 | VCDB 5 | Output format | ||
|---|---|---|---|---|---|---|---|
Export Appearances |
If enabled, appearance information (materials, textures) is exported as well. |
On |
Yes |
Yes |
CityGML, CityJSON |
||
Themes |
Optional list of appearance themes to export (comma-separated). If left empty, all appearances are exported. Use Only relevant when Export Appearances is enabled.
|
(empty) |
Yes |
Yes |
CityGML, CityJSON |
||
Number of Threads |
Number of parallel threads used during export. Each thread requires a separate database connection.
|
|
Yes |
Yes |
CityGML, CityJSON |
||
Log Level |
Defines the minimum severity of events that are shown in the task log. All messages of that severity or higher are included. See Log Level below. |
|
Yes |
Yes |
CityGML, CityJSON |
||
LoD Filter |
If enabled, export only features with matching Levels of Detail (LoD). Use:
|
Off |
Yes |
Yes |
CityGML, CityJSON |
||
Feature Validity |
If enabled, filter features by their validity in time. Fields in the UI:
|
Off |
Yes |
Yes |
CityGML, CityJSON |
Log Level
Defines the minimum severity of events that are shown in the task log. All messages of that severity or higher are included.
The available log levels, ordered from highest to lowest severity, are:
| Level | Description | Default value |
|---|---|---|
|
Critical errors causing immediate termination (least output). |
|
|
Non-recoverable errors. |
|
|
Warnings about potential issues. |
|
|
General operational messages. |
Default |
|
Detailed debugging information. |
|
|
Most detailed logs for troubleshooting. |
| Use debug or trace for debugging or in support cases. |
Exporting historical versions requires that these versions remain in the database. Features that were physically deleted cannot be exported anymore. To preserve history, terminate features instead of deleting them (see Database Delete, Mode = Terminate).
|
Filter Options
These options allow restricting the export to a subset of features.
| Option | Description | Default value | ||||
|---|---|---|---|---|---|---|
Feature IDs |
Comma-separated list of feature identifiers to export. |
|||||
Feature Types |
One or more feature types to export. Examples (as shown in the UI):
Clicking on Get feature types from database ( |
|||||
Bounding Box |
Spatial filter defined as
|
Off |
||||
Bounding Box Mode |
Defines how the bounding box filter is applied:
|
|
||||
Count limit |
Limit the number of exported features and optionally skip a number of features at the beginning of the result set. Use:
|
Off |
||||
Expert Filter |
Click on ( For VCDB 4 databases, the expert filter uses XML query expressions. For VCDB 5 databases, the expert filter uses JSON-based filter expressions that allow advanced filtering of features. For more information, refer to the VC Database documentation on Filtering features to delete. |
Off |
| The limit and start index apply to the filtered result set and can be used separately or together. This enables pagination-style exports when working with large datasets. |
| When using multiple filters, all conditions must be satisfied for a feature to be exported. |
CityGML Upgrade Options
These options are only available for exports from a VCDB 5 database.
These options help resolve compatibility issues when exporting data that originally comes from CityGML 2.0 or 1.0.
| Option | Description | Default value |
|---|---|---|
Use LoD4 as LoD3 |
Map LoD4 geometries to LoD3, replacing an existing LoD3. |
Off |
Map LoD0 Roof Edge (CityGML only) |
Map LoD0 roof edge geometries onto roof surfaces. |
Off |
Map LoD1 MultiSurfaces (CityGML only) |
Map LoD1 multi-surfaces onto generic thematic surfaces. |
Off |
| When exporting to CityJSON, only Use LoD4 as LoD3 is supported. The other upgrade options apply only to CityGML exports. |
| For more information about these options, refer to the VC Database documentation on CityGML upgrade options. |
Write Options
| Option | Description | Default value |
|---|---|---|
Fail fast on errors |
If enabled, stop the export immediately when an error occurs. |
Off |
Pretty Print |
Only available for exports from a VCDB 5 database and when exporting to CityGML or CityJSON 1.0. If enabled, the exported output is formatted (whitespace/indentation), which can improve readability but may increase file size. |
On |
Click NEXT STEP to continue.
Step 4 (Task schedule)
| Option | Description |
|---|---|
Start Job as soon as possible |
Start the job immediately. |
Start Job once at given time |
Schedule job for a future time. |
Repeat Job |
Automatic periodic execution of the job. |
Publish Job after Completion |
Once conversion is successful, the datasource is published automatically. |