cjdb: A Simple, Fast, and Lean Database Solution for the CityGML Data Model

Leon Powałka, Chris Poon, Yitong Xia, Siebren Meines, Lan Yan, Yuduan Cai, Gina Stavropoulou, Balázs Dukai, Hugo Ledoux*

*Corresponding author for this work

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

Abstract

When it comes to storing 3D city models in a database, the implementation of the CityGML data model can be quite demanding and often results in complicated schemas. As an example, 3DCityDB, a widely used solution, depends on a schema having 66 tables, mapping closely the CityGML architecture. In this paper, we propose an alternative (called ‘cjdb’) for storing CityGML models efficiently in PostgreSQL with a much simpler table structure and data model design (only 3 tables are necessary). This is achieved by storing the attributes and geometries of the objects directly in JSON. In the case of the geometries we thus adopt the Simple Feature paradigm and we use the structure of CityJSON. We compare our solution against 3DCityDB with large real-world 3D city models, and we find that cjdb has significantly lower demands in storage space (around a factor of 10), allows for faster import/export of data, and has a comparable data retrieval speed with some queries being faster and some slower. The accompanying software (importer and exporter) is available at https://github.com/cityjson/cjdb/ under a permissive open-source license.
Original languageEnglish
Title of host publicationRecent Advances in 3D Geoinformation Science
Subtitle of host publicationProceedings of the 18th 3D GeoInfo Conference
EditorsThomas H. Kolbe, Andreas Donaubauer, Christof Beil
Place of PublicationCham
PublisherSpringer
Chapter47
Pages781-796
Number of pages16
ISBN (Electronic)978-3-031-43699-4
ISBN (Print)978-3-031-43698-7, 978-3-031-43701-4
DOIs
Publication statusPublished - 2024
Event18th 3D Geoinfo Conference - Technical University of Munich, Munich, Germany
Duration: 12 Sept 202314 Sept 2023
https://www.3dgeoinfo.org/3dgeoinfo/

Publication series

NameLecture Notes in Geoinformation and Cartography
PublisherSpringer
ISSN (Print)1863-2246
ISSN (Electronic)1863-2351

Conference

Conference18th 3D Geoinfo Conference
Country/TerritoryGermany
CityMunich
Period12/09/2314/09/23
Internet address

Bibliographical note

Green Open Access added to TU Delft Institutional Repository 'You share, we take care!' - Taverne project https://www.openaccess.nl/en/you-share-we-take-care
Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.

Keywords

  • CityGML
  • 3DCityDB
  • 3D modelling
  • DBMS
  • CityJSON

Fingerprint

Dive into the research topics of 'cjdb: A Simple, Fast, and Lean Database Solution for the CityGML Data Model'. Together they form a unique fingerprint.

Cite this