Skip to Content
Practical GIS
book

Practical GIS

by Gábor Farkas
June 2017
Beginner
428 pages
10h 2m
English
Packt Publishing
Content preview from Practical GIS

Importing layers into PostGIS

PostGIS has a very big benefit over other DBMSs--QGIS can communicate with it very well. The same applies for SQLite containers and the GeoPackage format, but PostGIS offers the best capabilities as it can be deployed as a server and accessed from multiple clients even concurrently. For accessing a PostGIS database from QGIS, first we need to connect to it. Remember the database we created in Chapter 1, Setting Up Your Environment? We will use the data provided there to define and save a connection in QGIS:

  1. Click on the Add PostGIS Layers button in the layers toolbar.
  2. Define a new connection by clicking on New.

 

 

  1. Fill out the required parameters we used to set up our database:
  1. By clicking on Test Connection ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

GIS For Dummies®

GIS For Dummies®

Michael N. DeMers
Advanced Surveying: Total Station, GIS and Remote Sensing

Advanced Surveying: Total Station, GIS and Remote Sensing

Satheesh Gopi, R. Sathikumar, N. Madhu
GIS, 2nd Edition

GIS, 2nd Edition

Patrick McHaffie, Sungsoon Hwang, Cassie Follett

Publisher Resources

ISBN: 9781787123328Supplemental Content