This documentation is a work in progress. For the Long Term Release and translations, please visit the latest version.
QGIS Documentation Logo
testing
Index

About QGIS

  • Preamble
  • Foreword
  • Conventions
  • Features
  • Help and Support
  • Contributors
  • Complying with Licenses

For Users

  • QGIS Desktop User Guide/Manual (QGIS Testing)
  • QGIS Server Guide/Manual (QGIS Testing)
  • Training Manual
    • 1. Course Introduction
    • 2. Module: Creating and Exploring a Basic Map
    • 3. Module: Classifying Vector Data
    • 4. Module: Laying out the Maps
    • 5. Module: Creating Vector Data
    • 6. Module: Vector Analysis
    • 7. Module: Rasters
    • 8. Module: Completing the Analysis
    • 9. Module: Plugins
    • 10. Module: Online Resources
    • 11. Module: QGIS Server
    • 12. Module: GRASS
    • 13. Module: Assessment
    • 14. Module: Forestry Application
    • 15. Module: Database Concepts with PostgreSQL
    • 16. Module: Spatial Database Concepts with PostGIS
    • 17. The QGIS processing guide
    • 18. Module: Using Spatial Databases in QGIS
      • 18.1. Lesson: Working with Databases in the QGIS Browser
      • 18.2. Lesson: Using DB Manager to work with Spatial Databases in QGIS
      • 18.3. Lesson: Working with SpatiaLite databases in QGIS
    • 19. Appendix: Contributing To This Manual
    • 20. Preparing Exercise Data
  • A Gentle Introduction to GIS

For Writers

  • Documentation Guidelines

For Developers

  • PyQGIS Cookbook (QGIS Testing)
  • Developers Guide
QGIS Documentation
  • QGIS Training Manual
  • 18. Module: Using Spatial Databases in QGIS
    • Edit on GitHub
    Learn how to contribute!
Previous Next

18. Module: Using Spatial Databases in QGIS

In this module you will learn about how to use Spatial Databases with QGIS to manage, display and manipulate data in the database as well as performing analysis by querying. We will primarily use PostgreSQL and PostGIS (which were covered in previous sections), but the same concepts are applicable to other spatial database implementations including SpatiaLite.

  • 18.1. Lesson: Working with Databases in the QGIS Browser
    • 18.1.1. ★☆☆ Follow Along: Adding Database Tables to QGIS using the Browser
    • 18.1.2. ★☆☆ Follow Along: Adding a filtered set of records as a Layer
    • 18.1.3. In Conclusion
    • 18.1.4. What’s Next?
  • 18.2. Lesson: Using DB Manager to work with Spatial Databases in QGIS
    • 18.2.1. ★☆☆ Follow Along: Managing PostGIS Databases with DB Manager
    • 18.2.2. ★☆☆ Follow Along: Creating a New Table
    • 18.2.3. ★☆☆ Follow Along: Basic Database Administration
    • 18.2.4. ★☆☆ Follow Along: Executing SQL Queries with DB Manager
    • 18.2.5. Importing Data into a Database with DB Manager
    • 18.2.6. Exporting Data from a Database with DB Manager
    • 18.2.7. In Conclusion
    • 18.2.8. What’s Next?
  • 18.3. Lesson: Working with SpatiaLite databases in QGIS
    • 18.3.1. ★☆☆ Follow Along: Creating a SpatiaLite database with the Browser
    • 18.3.2. In Conclusion
Previous Next

© Copyright 2002-now, QGIS project. Last updated on 2025 May 08, 19:01 +0000.

Built with Sphinx using a theme provided by Read the Docs.
QGIS Documentation v: testing
Languages
en
Versions
testing
latest
3.40
3.34
3.28
3.22
3.16
3.10
3.4
2.18
Downloads
PDF
HTML
Contribute to Docs
Edit on GitHub
Report Issue
On QGIS Project
Home
C++ API
PyQGIS API
Source