What this book covers
Chapter 1, Introducing the Fundamentals of Geospatial Analytics, introduces the foundational aspects of spatial databases and data types. This chapter also introduces learners to structured query language (SQL).
Chapter 2, Conceptual Framework for SQL Spatial Data Science – Geometry Versus Geography, explains how to create a spatial database to enable you to import datasets and begin analysis. You will also learn the fundamentals of writing query-based syntax.
Chapter 3, Analyzing and Understanding Spatial Algorithms, shows you how to connect databases created in pgAdmin to QGIS, where you will learn how to join tables and visualize the output by selecting layers and viewing them on the QGIS canvas.
Chapter 4, An Overview of Spatial Statistics, covers working with spatial vectors and running SQL queries while introducing you to US Census datasets.
Chapter 5, Using SQL Functions – Spatial and Non-Spatial, demonstrates how to use spatial statistics in PostGIS to explore land use characteristics and population data. You will learn how to write a user-defined function and run the query.
Chapter 6, Building SQL Queries Visually in a Graphical Query Builder, contains examples of how to access a graphical query builder and begin building more complex frameworks by taking a deeper dive and bringing together skills learned earlier.
Chapter 7, Exploring PostGIS for Geographic Analysis, looks at pgAdmin more closely to customize workflows by running SQL queries in pgAdmin and visualizing the output within the geometry viewer.
Chapter 8, Integrating SQL with QGIS, moves spatial queries back to QGIS as you work with DB Manager and are introduced to raster data and functions.