Extending QGIS 3 with Python 3
by Gary Sherman
Welcome to the world of PyQGIS, the blending of QGIS and Python to extend and enhance your open source GIS toolbox. With PyQGIS you can write scripts and plugins to implement new features and perform automated tasks.
This book is updated to work with the next generation of QGIS–version 3.x. After a brief introduction to Python 3, you’ll learn how to understand the QGIS Application Programmer Interface (API), write scripts, and build a plugin.
This book is designed to allow you to work through the examples as you go along. At the end of each chapter you will find a set of exercises you can do to enhance your learning experience.
The PyQGIS Programmer’s Guide is compatible with the version 3.0 API released with QGIS 3.x.
For discussion of PyQGIS 3 features in this book, and to provide feedback, please use: https://locatepress.com/discussion/ppg3
- Python Basics
- Setting Up Your Development Tools
- The QGIS/Python Ecosystem
- Changes from Python 2 to 3
- Navigating the QGIS API
- Using the Console
- Running Scripts
- Tips and Techniques
- Extending the API
- Writing Plugins
- Creating a Development Workflow
- Converting Code to QGIS 3
- Writing a Standalone Application
- Answers to Exercises
- Appendix A: Code Listings
If you would like to receive updates about this title, please subscribe.