How it works...

Connecting to a PostGIS database (see the Adding PostGIS layers – QGIS recipe in this chapter) allows you to utilize the DB Manager plugin. Once DB Manager was enabled, we were able to toggle between the Info, Table, and Preview tabs to efficiently view metadata, tabular data, and data visualization.

Next, we made changes to the database through the query window, running on the table lines of schema chp11 in order to transform the projection. Note the autocomplete feature in the SQL Window, which makes writing queries a breeze.

Changes to the database were made visible in DB Manager by refreshing the database connection.

Get PostGIS Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.