CityJSON in QGIS: Development of an open‐source plugin
Open Access
- 24 June 2020
- journal article
- research article
- Published by Wiley in Transactions in GIS
- Vol. 24 (5) , 1147-1164
Abstract
When QGIS 3.0 was released in 2018, it added support for 3D visualisation. At the same time, CityJSON has been developing as an easy‐to‐use JavaScript Object Notation (JSON) encoding for 3D city models using the CityGML 2.0 data model. Together, this opened the possibility to support semantic 3D city models in the popular open‐source GIS software for the first time. In order to add support for 3D city models in QGIS, we have developed a plugin that enables CityJSON datasets to be loaded. The plugin parses a CityJSON file and analyses its tree structure to identify all city objects. Then, the geometry and attributes of every city object are transformed into QGIS features and divided into layers according to user preferences. CityJSON parsing was proven to be straightforward and consistent when tested against several open datasets. One of the biggest challenges we faced, though, was mapping CityJSON’s hierarchical data structure to the relational model of QGIS. We undertook this issue by providing various methods on how geometries from the model are loaded as QGIS features. We intend to use the plugin for educational purposes in our university and we believe it can be proven a worthy tool for researchers and practitioners.Keywords
Funding Information
- European Research Council
- European Union’s Horizon 2020 Research and Innovation Programme (677312 UMnD)
This publication has 10 references indexed in Scilit:
- CityJSON: a compact and easy-to-use encoding of the CityGML data modelOpen Geospatial Data, Software and Standards, 2019
- A metadata ADE for CityGMLOpen Geospatial Data, Software and Standards, 2018
- 3DCityDB - a 3D geodatabase solution for the management, analysis, and visualization of semantic 3D city models based on CityGMLOpen Geospatial Data, Software and Standards, 2018
- 3D Geo-Information Innovation in Europe’s Public Mapping Agencies: A Public Value PerspectiveLand, 2018
- GRASS GIS Software with QGIS2018
- Introduction to GDAL Tools in QGIS2018
- The Use of SAGA GIS Modules in QGIS2018
- An open source QGIS-based workflow for model application and experimentation with aquatic ecosystemsEnvironmental Modelling & Software, 2017
- Applications of 3D City Models: State of the Art ReviewISPRS International Journal of Geo-Information, 2015
- A Classification of Object-Relational Impedance Mismatch2009