https://github.com/cityjson/cityjson-qgis-plugin

A QGIS plugin that adds support for CityJSON files

https://github.com/cityjson/cityjson-qgis-plugin

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary

Keywords

cityjson metadata qgis qgis-plugins
Last synced: 5 months ago · JSON representation

Repository

A QGIS plugin that adds support for CityJSON files

Basic Info
  • Host: GitHub
  • Owner: cityjson
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 388 KB
Statistics
  • Stars: 41
  • Watchers: 7
  • Forks: 10
  • Open Issues: 20
  • Releases: 17
Topics
cityjson metadata qgis qgis-plugins
Created over 7 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.md

This fork of cityjson-qgis-plugin includes fixes, improvements and support for new features

Key Updates:

  • New feature(s):

    • Multi-File Loading: The plugin now supports processing multiple CityJSON files at once. The GUI has been modified to allow the selection and display of multiple files in a dynamic list. When a file is selected from the list, its metadata is dynamically updated in the metadata field.
    • Control Inheritance of Attributes: Added a CheckBox to control whether child objects inherit parent attributes.
    • LoD Selection: Added a ComboBox to select a specific LoD to import (e.g., "All", "1.2, "1.3", "2.2", etc.).
    • New semantic surface attributes: Support for additional semantic surface attributes when loading a CityJSON file using option Load semantic surfaces (as individual features). Compatible with CityJSON files generated by 3DBM-Plus, a custom version of 3d-building-metrics.

    Reference: Anna Labetski, Stelios Vitalis, Filip Biljecki, Ken Arroyo Ohori, & Jantien Stoter (2023). 3D building metrics for urban morphology. International Journal of Geographical Information Science, 37(1): 36-67. DOI: 10.1080/13658816.2022.2103818.

  • Fixes & Improvements:

    • Fixed error: 'QgsPolygon3DSymbol' object has no attribute 'setMaterial'.
    • Fixed an issue where empty layer(s) with [LoD: None] were unnecessarily created when the option to load LoD "As layers" was selected.
    • Removed the behavior where a group layer was created even when only a single layer was loaded.

Installation

Open the Command Prompt (CMD) and navigate to the directory where your QGIS plugins are stored. For example: C:\Users\<user>\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins If you're unable to find this directory: - Launch QGIS 3. - Go to Settings->User Profiles->Open Active Profile Folder - This will open the folder containing your plugins.

Once you're in the correct directory, run the following Git command to install the plugin: git clone -b main https://github.com/FLeroux23/CityJSON-loader To update the plugin later, use the following command: git pull origin main


CityJSON Loader for QGIS 3

This is a Python plugin for QGIS 3 which adds support for loading CityJSON datasets in QGIS.

Installation

"Stable" releases are available through the official QGIS plugins repository.

  • In QGIS 3 select Plugins->Manage and Install Plugins...
  • In the All panel select the CityJSON Loader plugin from the list.

Use

After the installation, there must be a new submenu under the Vector menu. Select CityJSON Loader->Load CityJSON... in order to open the CityJSON dialog window. You can select a dataset and add it from there.

You may enable the Split layers according to object type option in order to load different object types as different layers in QGIS.

3D view in QGIS 3.0

CityJSON Loader automatically enables 3D renderer in QGIS versions 3.2 onwards. However, if you are using QGIS 3.0 you have to enable it manually. This can be done as follows: * Right-click on the layer and select Properties... * Select the 3D View panel and check the Enable 3D renderer option. * In QGIS 3 menu select View->New 3D Map View in order to see the 3D geometry.

Development

You may use make to assist you while developing.

The following rules can be useful: * make deploy: will automatically copy the required files to your QGIS plugins' folder. BEWARE: it only works out-of-the-box for macOS. For other operating systems you might have to change the QGISDIR variable in Makefile. * make package VERSION=GIT_REF: (where GIT_REF is a branch, tag or any other git ref) will make a zip package to be installed manually from QGIS or uploaded to the QGIS plugins' repository.

Owner

  • Name: CityJSON
  • Login: cityjson
  • Kind: organization

For all CityJSON matters. Managed by @tudelft3d

GitHub Events

Total
  • Create event: 3
  • Release event: 1
  • Issues event: 5
  • Watch event: 5
  • Delete event: 2
  • Issue comment event: 6
  • Push event: 8
  • Pull request event: 6
  • Pull request review event: 1
  • Fork event: 2
Last Year
  • Create event: 3
  • Release event: 1
  • Issues event: 5
  • Watch event: 5
  • Delete event: 2
  • Issue comment event: 6
  • Push event: 8
  • Pull request event: 6
  • Pull request review event: 1
  • Fork event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 56
  • Total pull requests: 13
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 25
  • Total pull request authors: 5
  • Average comments per issue: 1.64
  • Average comments per pull request: 0.23
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 8
  • Average time to close issues: N/A
  • Average time to close pull requests: about 10 hours
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • liberostelios (18)
  • balazsdukai (7)
  • wonder-sk (3)
  • StefanCiesilski (3)
  • hugoledoux (3)
  • misonishiki (2)
  • StylianosVitalis-TomTom (1)
  • Athelena (1)
  • AdminGeoBim (1)
  • mdjong1 (1)
  • reemwijk (1)
  • rduivenvoorde (1)
  • raymondnijssen (1)
  • Navid61 (1)
  • CHOWY0152 (1)
Pull Request Authors
  • GinaStavropoulou (6)
  • Athelena (3)
  • Brigggi (2)
  • FLeroux23 (2)
  • tobwen (1)
  • paalped (1)
Top Labels
Issue Labels
enhancement (16) bug (7)
Pull Request Labels