Code Monkey home page Code Monkey logo

3dcitydb-qgis-explorer's Introduction

Description

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!

Install from ZIP

The plugin can be installed using the Install from ZIP Function in the Plugins Window (Plugins>Installs und manage plugins).

3DCityDB Explorer Widget

  • 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.

How use this plugin

  1. 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..).
  2. Start the plugin Widget from the Database Menu (3DCityDB Explorer > Open Widget)
  3. Choose your 3DCityDB from the dropdown menu and click connect. If the connection is successful, you should see the version of the 3DCityDB.
  4. 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.
  5. 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.

License

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:

3dcitydb-qgis-explorer's People

Contributors

clausnagel avatar dokgeppo avatar lucacasagrande avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.