Introduction to GIS Programming
Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tool.
https://github.com/giswqs/intro-gispro
Category: Sustainable Development
Sub Category: Education
Keywords
geopython geospatial jupyter mapping python
Last synced: about 23 hours ago
JSON representation
Repository metadata
Code examples for the book titled Introduction to GIS Programming
- Host: GitHub
- URL: https://github.com/giswqs/intro-gispro
- Owner: giswqs
- License: cc0-1.0
- Created: 2025-06-04T16:53:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-05-06T15:35:20.000Z (7 days ago)
- Last Synced: 2026-05-09T12:03:46.770Z (4 days ago)
- Topics: geopython, geospatial, jupyter, mapping, python
- Language: Jupyter Notebook
- Homepage: https://gispro.gishub.org
- Size: 19.7 MB
- Stars: 540
- Watchers: 17
- Forks: 188
- Open Issues: 1
- Releases: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
Introduction to GIS Programming
Introduction
Welcome to the official repository for Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools. This repository contains all the code examples featured in the book, designed to help you learn and apply Python for geospatial analysis using open-source tools.
Get the Book
Print Edition
- ๐บ๐ธ English Full-Color Print Edition (556 pages) is available on Amazon (link)
PDF and EPUB Editions
๐บ๐ธ English | ๐จ๐ณ Chinese | ๐ฏ๐ต Japanese | ๐ฐ๐ท Korean | ๐ฒ๐ฝ Spanish | ๐ซ๐ท French | ๐ต๐น Portuguese | ๐ฎ๐ฉ Indonesian | ๐ฉ๐ช German | ๐ท๐บ Russian | ๐ฎ๐น Italian | ๐จ๐ฟ Czech
Cite the Book
If you use this book in your research or teaching, please consider citing it as follows:
Wu, Q. (2025). Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools. Independently published. ISBN 979-8286979455. https://amazon.com/dp/B0FFW34LL3

Table of Contents
To download a PDF version of the Table of Contents, please visit https://gispro.gishub.org/book-toc.pdf.
-
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
- Get in Touch
- Acknowledgments
- About the Author
- Licensing and Copyright
-
Software Setup
- Overview of Software Tools
- Introduction to Python Package Management
- Setting Up Visual Studio Code
- Version Control with Git
- Using Google Colab
- Working with JupyterLab
- Using Docker
-
Python Programming Fundamentals
- Variables and Data Types
- Python Data Structures
- String Operations
- Loops and Conditional Statements
- Functions and Classes
- Working with Files
- Data Analysis with NumPy and Pandas
-
Geospatial Programming with Python
- Introduction to Geospatial Python
- Vector Data Analysis with GeoPandas
- Working with Raster Data using Rasterio
- Multi-dimensional Data Analysis with Xarray
- Raster Analysis with Rioxarray
- Interactive Visualization with Leafmap
- Geoprocessing with WhiteboxTools
- 3D Mapping with MapLibre
- Cloud Computing with Earth Engine and Geemap
- Hyperspectral Data Visualization with HyperCoast
- High-Performance Geospatial Analytics with DuckDB
- Geospatial Data Processing with GDAL and OGR
- Building Interactive Dashboards with Voila and Solara
- Distributed Computing with Apache Sedona
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. Follow this video tutorial to learn how to run the code examples.
Using MyBinder
The code examples can be run using MyBinder.
Using Google Colab
The code examples can be run using Google Colab.
Using Docker
The code examples can be run using Docker. There are two Docker images available:
A lightweight docker image without Apache Sedona:
docker pull giswqs/pygis:book
docker run -it -p 8888:8888 -v $(pwd):/app/workspace giswqs/pygis:book
A docker image with Apache Sedona:
docker pull giswqs/pygis:sedona
docker run -it -p 8888:8888 -p 4040:4040 -p 8080:8080 -p 8081:8081 -p 7077:7077 -p 8085:8085 -v $(pwd):/app/workspace giswqs/pygis:sedona
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/intro-gispro-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 2024 when I was teaching the Introduction to GIS Programming 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.
Enroll for Certification
Please note that you can access the course materials and lecture videos on the course website without enrolling in the course. However, if you're interested in submitting lab assignments, receiving grades, and earning a certificate of completion, you can enroll in the course at any time by clicking the link below. There is no deadline for enrollment, and you can complete the course at your own pace.
About the Author
Dr. Qiusheng Wu is an Associate Professor and the Director of Graduate Studies in the Department of Geography & Sustainability at the University of Tennessee, Knoxville. He also serves as an Amazon Scholar. Dr. Wu's research focuses on geospatial data science and open-source software development, with an emphasis on leveraging big geospatial data and cloud computing to study environmental change, particularly surface water and wetland inundation dynamics. He is the creator of several widely used open-source Python packages, including geemap, leafmap, segment-geospatial, and geoai, which support advanced geospatial analysis and interactive visualization. His open-source work is available at the Open Geospatial Solutions on GitHub.
Acknowledgments
This book was written using MyST Markdown and compiled using Typst with the min-book template. Credits to developers and maintainers of the Typst and MyST Markdown projects. Special thanks to @mayconfmelo for the min-book template and their help with customizing the template for this book.
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). Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools. Independently published. ISBN 979-8286979455. https://amazon.com/dp/B0FFW34LL3
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.
Owner metadata
- Name: Qiusheng Wu
- Login: giswqs
- Email: qwu18@utk.edu
- Kind: user
- Description: Associate Professor at the University of Tennessee, Knoxville | Amazon Scholar
- Website: https://gishub.org
- Location: Knoxville, TN
- Twitter: giswqs
- Company: University of Tennessee
- Icon url: https://avatars.githubusercontent.com/u/5016453?u=ccdf45d5c7a05a6b096b8b622b2d99ae046d37ac&v=4
- Repositories: 319
- Last ynced at: 2025-11-07T14:37:13.299Z
- Profile URL: https://github.com/giswqs
GitHub Events
Total
- Release event: 2
- Delete event: 33
- Pull request event: 50
- Fork event: 74
- Discussion event: 2
- Issues event: 17
- Watch event: 298
- Issue comment event: 28
- Push event: 102
- Create event: 37
Last Year
- Release event: 2
- Delete event: 33
- Pull request event: 50
- Fork event: 74
- Discussion event: 2
- Issues event: 17
- Watch event: 298
- Issue comment event: 28
- Push event: 102
- Create event: 37
Committers metadata
Last synced: 4 days ago
Total Commits: 92
Total Committers: 5
Avg Commits per committer: 18.4
Development Distribution Score (DDS): 0.174
Commits in past year: 92
Committers in past year: 5
Avg Commits per committer in past year: 18.4
Development Distribution Score (DDS) in past year: 0.174
| Name | Commits | |
|---|---|---|
| Qiusheng Wu | g****s@g****m | 76 |
| pre-commit-ci[bot] | 6****] | 7 |
| dependabot[bot] | 4****] | 7 |
| yopamungkass | 7****s | 1 |
| Florian Neukirchen | 9****n | 1 |
Issue and Pull Request metadata
Last synced: 4 days ago
Total issues: 6
Total pull requests: 29
Average time to close issues: 1 day
Average time to close pull requests: 3 days
Total issue authors: 5
Total pull request authors: 5
Average comments per issue: 0.5
Average comments per pull request: 0.55
Merged pull request: 21
Bot issues: 0
Bot pull requests: 4
Past year issues: 6
Past year pull requests: 29
Past year average time to close issues: 1 day
Past year average time to close pull requests: 3 days
Past year issue authors: 5
Past year pull request authors: 5
Past year average comments per issue: 0.5
Past year average comments per pull request: 0.55
Past year merged pull request: 21
Past year bot issues: 0
Past year bot pull requests: 4
Top Issue Authors
- dulcetberg (2)
- MuhammadMehdi5 (1)
- EmiliyaHrabova (1)
- maxklr (1)
- malhessi (1)
Top Pull Request Authors
- giswqs (23)
- pre-commit-ci[bot] (2)
- dependabot[bot] (2)
- Tsimbazaza (1)
- florianneukirchen (1)
Top Issue Labels
Top Pull Request Labels
- github_actions (2)
- dependencies (2)
Score: 7.902857191280582