Querying spatial data effectively starts with understanding how geography is modeled, indexed, and analyzed inside a relational database. In this hands-on course, you’ll move beyond basic SQL by learning how to query geospatial data using PostGIS, PostgreSQL’s spatial extension. You’ll begin by working with core geometry types and spatial reference systems, building a foundation for how location data is stored and interpreted. From there, you’ll write spatial queries that perform distance calculations, proximity searches, and spatial joins to answer real-world questions. As you progress, you’ll explore spatial indexing and query patterns that improve performance and reliability as datasets grow. By the end of the course, you’ll produce reusable spatial SQL queries and analysis patterns that support practical use cases in areas such as logistics, urban planning, and geospatial data engineering—equipping you to work confidently with location-based data in production environments.

Query Spatial with PostGIS

Query Spatial with PostGIS
This course is part of multiple programs.

Instructor: ansrsource instructors
Included with
Recommended experience
Details to know

Add to your LinkedIn profile
March 2026
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate

There are 3 modules in this course
In this lesson, you will create spatial indexes on geometry columns using PostGIS to enable efficient spatial queries. The lesson focuses on why spatial indexing is essential for scalable proximity analysis in compliance workflows.
What's included
2 videos1 reading1 assignment
In this lesson, you will apply spatial SQL concepts to answer a common real-world question: identifying parcels located within a specific distance of schools. Learners will move from understanding spatial relationships to executing practical PostGIS queries that use distance-based logic. By the end of the lesson, learners will be able to run spatial SQL queries that identify parcels within 100 meters of schools, building confidence in applying PostGIS functions to real analysis tasks.
What's included
1 video1 reading2 assignments
In this lesson, you will shift focus from writing spatial queries to understanding how those queries perform. Learners are introduced to EXPLAIN ANALYZE and learn how to interpret query execution output to diagnose performance issues. By the end of the lesson, learners will be able to read and explain EXPLAIN ANALYZE results to understand how a spatial query is executed and where optimization opportunities may exist.
What's included
2 videos1 reading2 assignments
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor

Offered by
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.

Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
More questions
Financial aid available,
¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.

