Open Source Geospatial Books

Access GIS books on QGIS, Leaflet, pgRouting, and education

PyQGIS Programmer's Guide

Designed for QGIS 2.0+

Extending QGIS with Python

by Gary Sherman


Book cover for PyQGIS Programmer's Guide by Locate Press


PDF $24.99
200 pages
ISBN 978-0989421720
Published 2014-02-27

Welcome to the world of PyQGIS, the blending of Quantum GIS 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 will guide you in getting started with PyQGIS. After a brief introduction to Python, 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 2.0 API released with QGIS 2.0.

If you purchased the Preview PDF, you can get final version by going to My Books and regenerating your book.

Code and Data

Download the code and data for the book.

Sample Chapter

Chapter 6 – Using the Console (PDF, 542 KB)

Contents

  1. Introduction
  2. Python Basics
  3. Setting Up Your Development Tools
  4. The QGIS/Python Ecosystem
  5. Navigating the QGIS API
  6. Using the Console
  7. Running Scripts
  8. Tips and Techniques
  9. Extending the API
  10. Writing Plugins
  11. Creating a Development Workflow
  12. Writing a Standalone Application
  13. Answers to Exercises
  14. Appendix A: Installing Software
  15. Appendix B: Code Listings
  16. Appendix C: Porting Scripts to 2.0
If you would like to receive updates about this title, please subscribe.


Gary Sherman has a wide and varied background, including that of geologist, mining engineer, software engineer, publisher, and author. He has authored both technical books and articles, as well as fiction.

In 2002, he founded the popular open source QGIS project and has published several books on the topic.

For eight years, Gary was at the helm of Locate Press, publisher of books on open source software.

Gary has published a number of novels as G.E. Sherman—see Alaskana.co for a list of books and descriptions.

When writing fiction, he draws on the depth of his background, providing vivid descriptions of life on the last frontier, wildlife encounters, and survival. Further, his experience as an outdoor enthusiast provides inspiration in the stories he tells.

Gary Sherman resides in Alaska and regularly watches moose from his living room window.

Ordering Information

Our paperbacks can be ordered from Amazon or Ingram. E-books (PDF) can be ordered and downloaded directly from our Purchase E-books page.

If you need multiple print copies of our titles, contact us directly to place an order and save up to 20% when you purchase five or more copies. We print in, and ship from USA, UK, and Australia, but can deliver almost anywhere.

To get a quote and/or place an order, please contact us for details. Before you order, please read our Return Policy.

  © Copyright 2011-2022 Locate Press. All Rights Reserved. Design by Nathan Watson    
6.0.0 titan