Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PostGIS from Scratch: Mastering PostGIS with QGIS
Rating: 4.3 out of 5(66 ratings)
407 students

PostGIS from Scratch: Mastering PostGIS with QGIS

Master PostGIS fundamentals, spatial queries, database management, and QGIS integration for exploration and management.
Last updated 8/2025
English
English [Auto],

What you'll learn

  • SEE DESCRIPTION FOR DISCOUNT CODE
  • All the key Concepts of PostGIS
  • Introduction to PostgreSQL, PostGIS and pgAdmin
  • QGIS integration for exploration and database management
  • Uploading shapefiles and CSV into the PostGIS database
  • Spatial and non-spatial queries and geometry types
  • Coordinate Reference System Functions
  • Filtering, limiting and sorting data
  • Data Types including Vector Geometry and Raster
  • Managing Database Tables and Primary and Foreign Keys
  • Database Relationships including one-to-one, one-to-many and many-to-many
  • Spatial Insert, Update and Delete records
  • Spatial Indexing and Vacuum and Analyze
  • Spatial Joins and Spatial Relationship Queries
  • PL/pgSQL basics
  • Pl/pgSQL control structures, functions and procedures
  • And much more!

Course content

14 sections89 lectures6h 28m total length
  • What is PostgreSQL and how about PostGIS?3:59

    Learn how PostgreSQL stores data in tables using SQL, links tables with foreign keys, and how PostGIS extends PostgreSQL with geospatial types, indexing, and SQL-based geospatial queries.

  • PostgreSQL and PostGIS installation5:45

    Install PostgreSQL 15 on Windows using Stack Builder, configure Pgadmin and spatial extensions, create a database with a chosen name, and set essential environment variables.

  • Introduction to pgAdmin7:03

    Explore the pgAdmin user interface, connect to PostgreSQL 15, and run a version query. Learn to customize by managing extensions, languages, schemas, and roles, and reset the layout.

  • QGIS installation and introduction to the user interface of QGIS7:06

    Install QGIS and explore its cross-platform desktop interface, including the browser layers and processing toolbox. Understand core menu options, data source management, and plugin usage for project setup and templates.

  • Connecting QGIS into the PostGIS database6:20

    Connect QGIS to a Postgres database by creating a new connection, configuring host, port, database name, and authentication, then explore public tables and views with geometry and geography columns.

  • Uploading shapefiles into the PostGIS database8:05

    Upload shapefiles into a PostGIS database using qgis, creating public schema POIs and buildings tables with a geom column and a spatial index.

  • Uploading a CSV file into the PostGIS database5:48

    Learn to upload a CSV into a PostGIS database using QGIS, defining x (longitude) and y (latitude) as coordinates, and setting the WGS84 CRS. Create the table via DB Manager.

  • Creating a database sequence object8:32

    Create a database sequence to auto-increment the OSM id values in tables, assign and use the sequence for buildings and points of interest, and apply next value for new records.

  • Uploading records into the existing database tables4:04

    Upload records into an existing table using QGIS by preparing a CSV, correcting field types, copying selected rows, and pasting them in edit mode to save and view geometry.

  • Handling large datasets in QGIS attribute table2:30

    Filter the QGIS attribute table by osm id to display a single record, keeping it responsive with millions of records and enabling easy addition of new data.

Requirements

  • Interest in Spatial Data: This course is ideal for anyone interested in working with spatial data and learning how to manage, query, and analyze geospatial information in a PostGIS database.
  • No Previous Experience with PostGIS: This course is designed for beginners, so you don't need prior experience with PostGIS. We’ll cover everything from the ground up.

Description

**DISCOUNT CODE**: Use the current month in uppercase followed by the year.

Examples:  AUGUST2026, SEPTEMBER2026, OCTOBER2026


PostGIS is a powerful spatial database extension for PostgreSQL, enabling advanced spatial data storage, analysis, and manipulation.

This course focuses on the latest capabilities of PostGIS (updated for 2024) and is one of the most comprehensive PostGIS courses available on UDEMY. Starting from the very basics, you’ll progress through advanced spatial queries, data optimization techniques, and practical use cases. Along the way, QGIS is introduced as a tool to visualize and explore spatial query results, enhancing your understanding of the database concepts.

No prior experience with spatial databases is required, as we start from scratch and cover all the essential concepts.

By the end of this course, you’ll have the skills and confidence to handle spatial data efficiently and leverage PostGIS for diverse applications.

More details about what the course covers

  • Introduction to PostGIS

  • PostgreSQL and PostGIS installation

  • Introduction to pgAdmin

  • QGIS installation including connecting QGIS into the PostGIS database

  • Uploading shapefiles and CSV into the PostGIS database

  • Handling large datasets in QGIS

  • Introduction to Spatial and non-spatial queries and geometry type

  • Coordinate Reference System Functions

  • Filtering, limiting and sorting data

  • Data Types including Vector Geometry and Raster

  • Managing Database Tables and Primary and Foreign Keys

  • Database Relationships including one-to-one, one-to-many and many-to-many

  • Spatial Insert, Update and Delete records

  • Spatial Indexing and Vacuum and Analyze

  • Spatial Joins and Spatial Relationship Queries

  • PL/pgSQL basics

  • Pl/pgSQL control structures, functions and procedures

  • And much more!

Who this course is for:

  • Beginners to Intermediate Users: If you're new to PostGIS and spatial databases or want to enhance your understanding of spatial queries, this course will guide you through the fundamentals and take you to an intermediate level of mastery.
  • GIS Enthusiasts: Whether you're a GIS analyst, cartographer, or geospatial professional, this course will help you strengthen your spatial database skills and deepen your knowledge of working with geographic data.
  • QGIS Users: While QGIS is not the focus of this course, if you're already using QGIS and want to integrate PostGIS with it to enhance your spatial analysis and data management, this course will show you how to do that effectively.
  • Database Administrators and Developers: If you're a database administrator or developer looking to add spatial capabilities to your PostgreSQL database, this course will teach you how to manage and query spatial data with PostGIS.
  • Anyone Interested in Geospatial Data Management: If you're interested in learning how to manage, store, and query spatial data efficiently, this course will provide you with the practical skills to handle PostGIS databases.