Book Image

Geospatial Analysis with SQL

By : Bonny P McClain
Book Image

Geospatial Analysis with SQL

By: Bonny P McClain

Overview of this book

Geospatial analysis is industry agnostic and a powerful tool for answering location questions. Combined with the power of SQL, developers and analysts worldwide rely on database integration to solve real-world spatial problems. This book introduces skills to help you detect and quantify patterns in datasets through data exploration, visualization, data engineering, and the application of analysis and spatial techniques. You will begin by exploring the fundamentals of geospatial analysis where you’ll learn about the importance of geospatial analysis and how location information enhances data exploration. Walter Tobler’s second law of geography states, “the phenomenon external to a geographic area of interest affects what goes on inside.” This quote will be the framework of the geospatial questions we will explore. You’ll then observe the framework of geospatial analysis using SQL while learning to create spatial databases and SQL queries and functions. By the end of this book, you will have an expanded toolbox of analytic skills such as PostGIS and QGIS to explore data questions and analysis of spatial information.
Table of Contents (13 chapters)
Free Chapter
Section 1: Getting Started with Geospatial Analytics
Section 2: SQL for Spatial Analytics


As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.


American National Standards Institute (ANSI) 5

Anaconda 191

ANALYZE function 55


detecting 47-49

area median income (AMI) 58


bounding boxes 52

Brownsville 48


census-designated places 136-139

census table

codes 78-82

columns, renaming 78

command-line interface (CLI) 19

coordinate reference system (CRS) 31, 59

Cornell University Geospatial Information Repository (CUGIR) 194

URL 194

CREATE statement 22





importing 36-39

preparing 102


connecting to 53-58


creating, QuickOSM plugin used 102-108

Department of Environmental Protection (DEP) 12

Department of Health and Mental Hygiene (DOHMH) 45

Digital Elevation Models (DEMs) 197

dollar-quoted string...