Introduction to Geospatial Databases

In the previous chapters, you learned how to set up your Python environment and learned about the different libraries available for working with geospatial data using Python. In this chapter, you will start working with data.

Databases provide one of the most popular ways to store large amounts of data, and one of the most popular open source databases is PostgreSQL. PostGIS extends PostgreSQL, adding geographic objects and the ability to query records spatially. When PostgreSQL and PostGIS are combined, they create a powerful geospatial data repository.

Geospatial databases improve on basic relational database queries by allowing you to query your data by location or by location to other features in the ...

Get Mastering Geospatial Analysis with Python 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.