This plugin allows to load stored in a 3D CityDB in QGIS. Is it possible to load the data in a 2D and 3D view.
Important notice: this plugin is currently in the development phase. Only PostgreSQL is supported and currently only LOD2 data can be loaded. Pull Requests are welcome!
The plugin can be installed using the Install from ZIP Function in the Plugins Window (Plugins>Installs und manage plugins).
- Databases: This is a list of the current PostgreSQL connection saved in QGIS.
- Connect: Create a connection with the selected Database.
- Max Features: The max number of features that will be loaded in QGIS. This is useful if requesting data for a big extent. This limit remains valid also when using zoom or pan function.
- Add buildings: Add the Buildings for the current extent.
- Edit Attributes: Start the edit modus. The mouse cursor wll change in a cross icon and with a click on building is is possible to edit its attributes. Clicking once again on this button will stop the edit modus.
- Add a new PostgreSQL Database connection. This can be done, for example, in the Data Source Manager under the PostgreSQL block. Use the parameters of your 3DCityDB (hostname, port, user, etc..).
- Start the plugin Widget from the Database Menu (3DCityDB Explorer > Open Widget)
- Choose your 3DCityDB from the dropdown menu and click connect. If the connection is successful, you should see the version of the 3DCityDB.
- With the button Add buildings the LOD2 (the current version of the plugin supports only LOD2) buildings can be loaded in QGIS. The max number of loaded features is controlled by the parameter Max Features.
- With the button Edit Attributes ist it possible to edit the attributes of a specific geometry. Simply click on this button to activate the edit function and click on a geometry. A new Window will open with the current values of the selected geometry. Change the values and click save to store the new values. To exit from the edit function, simply click once again on the Edit Attributes button.
Copyright (C) 2021 Chair of Geoinformatics Technical University of Munich, Germany https://www.gis.bgu.tum.de/
This source is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
The 3D City Database is jointly developed with the following cooperation partners:
- virtualcitySYSTEMS GmbH, Berlin http://www.virtualcitysystems.de/
- M.O.S.S. Computer Grafik Systeme GmbH, Taufkirchen http://www.moss.de/