Vitalis Stelios, Arroyo Ohori Ken, Stoter Jantien
3D Geoinformation Group Delft University of Technology Delft the Netherlands.
Trans GIS. 2020 Oct;24(5):1147-1164. doi: 10.1111/tgis.12657. Epub 2020 Jun 24.
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.
2018年QGIS 3.0发布时,增加了对三维可视化的支持。与此同时,CityJSON一直在发展,它是一种使用CityGML 2.0数据模型对三维城市模型进行编码的易于使用的JavaScript对象表示法(JSON)。两者结合,首次为在流行的开源地理信息系统软件中支持语义三维城市模型提供了可能。为了在QGIS中增加对三维城市模型的支持,我们开发了一个插件,用于加载CityJSON数据集。该插件解析CityJSON文件并分析其树形结构,以识别所有城市对象。然后,每个城市对象的几何图形和属性被转换为QGIS要素,并根据用户偏好分为不同图层。在针对多个开放数据集进行测试时,CityJSON解析被证明是直接且一致的。然而,我们面临的最大挑战之一是将CityJSON的层次数据结构映射到QGIS的关系模型。我们通过提供各种关于如何将模型中的几何图形作为QGIS要素加载的方法来解决这个问题。我们打算在我们大学将该插件用于教育目的,并且我们相信它可以被证明是研究人员和从业者的一个有价值的工具。