Skip to content

giswqs/geog-414

Repository files navigation

Spatial Data Management

Welcome to the official repository for the Spatial Data Management course (GEOG-414) that I teach in Fall 2023 at the University of Tennessee, Knoxville.

Get the Book

  • 🇺🇸 English Full-Color Print Edition (446 pages): Available on Amazon (link)

  • 🇺🇸 English PDF Edition (441 pages): Available on Leanpub (link)

Cite the Book

If you use this book in your research or teaching, please consider citing it as follows:

Wu, Q. (2025). Spatial Data Management with DuckDB: From SQL Basics to Advanced Geospatial Analytics. Independently published. PDF edition ISBN 979-8993859705; Print edition ISBN 979-8274710572. https://duckdb.gishub.org

book cover

Table of Contents

  • Preface

    • Introduction
    • Who This Book Is For
    • What This Book Covers
    • Getting the Most Out of This Book
    • Conventions Used in This Book
    • Downloading the Code Examples
    • Video Tutorials and Supplementary Resources
    • Community and Feedback
    • Acknowledgments
    • About the Author
    • Licensing and Copyright
  • DuckDB Foundations

    • Getting Started with DuckDB
    • Essential SQL for Spatial Analysis
    • DuckDB Python Integration
  • Spatial Data Operations

    • Loading Spatial Data Formats
    • Exporting and Converting Spatial Data
    • Geometry Operations and Functions
    • Spatial Queries and Relationships
    • Advanced Spatial Joins
    • Interactive Data Visualization
    • Working with Vector Tiles and PMTiles
  • Real-World Geospatial Analytics

    • Analyzing the US National Wetlands Inventory
    • Analyzing Global Building Footprints
    • Analyzing NYC Taxi Data
    • Developing Interactive Dashboards with Voilà and Solara

How to Run Code Examples

The code examples are organized into folders, each corresponding to a chapter in the book. The code examples are written in Python and can be run using MyBinder, Google Colab, or Docker.

Using MyBinder

The code examples can be run using MyBinder.

image

Using Google Colab

The code examples can be run using Google Colab.

image

Video Tutorials

Complementing the written content, this book is supported by a comprehensive series of video tutorials that walk through key concepts and provide additional examples: https://tinyurl.com/duckdb-spatial-videos.

The videos are designed to complement, not replace, the written material. They're particularly helpful for:

  • Visual learners who benefit from seeing code being written and executed
  • Understanding complex concepts through multiple explanations
  • Learning about the development workflow and best practices
  • Seeing how to approach problems and debug issues

The playlist is organized to follow the book's structure. You can watch them in order as you progress through the book, or jump to specific topics as needed.

The videos were created in Fall 2023 when I was teaching the Spatial Data Management course at the University of Tennessee. Although the course has concluded, the videos remain relevant and can be used as a reference for the book. Additional videos will be added in the future.

About the Author

Dr. Qiusheng Wu is an Associate Professor in the Department of Geography & Sustainability at the University of Tennessee, Knoxville. He is also an Amazon Scholar. Dr. Wu’s research focuses on advancing open-source geospatial analytics through cloud computing and GeoAI. He is the creator and maintainer of several widely used open-source Python packages, including Geemap, Leafmap, SAMGeo, and GeoAI, which integrate cloud-based geospatial platforms with AI-powered analysis and visualization. Dr. Wu’s work bridges remote sensing, Earth observation, and artificial intelligence to make large-scale geospatial data more accessible, reproducible, and intelligent for researchers, educators, and practitioners worldwide. His open-source projects can be found on GitHub at https://github.com/opengeos.

Licensing and Copyright

This book embraces the principles of open science and open education. To support transparency, learning, and reuse, the code examples in this book are released under a Creative Commons Attribution 4.0 International (CC BY 4.0) license. This means you are free to copy, modify, and distribute the code, even for commercial purposes, as long as appropriate credit is given.

Please attribute code usage by citing the book or linking to the GitHub repository:

Wu, Q. (2025). Spatial Data Management with DuckDB: From SQL Basics to Advanced Geospatial Analytics. Independently published. PDF edition ISBN 979-8993859705; Print edition ISBN 979-8274710572. https://duckdb.gishub.org

While the code is freely available, the text, figures, and images in this book are copyrighted by the author and may not be reproduced, redistributed, or modified without explicit permission. This includes all written content, custom diagrams, and embedded visualizations unless otherwise noted.

If you wish to reuse or adapt any non-code material from the book (for example, for teaching, presentations, or publications), please contact the author to request permission.

This dual licensing approach helps balance open access to learning materials with the protection of original creative work. Thank you for respecting these terms and supporting the open-source geospatial community.

About

A repo for GEOG-414 (Spatial Data Management) at the University of Tennessee

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •