Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn QGIS - Fourth Edition

You're reading from  Learn QGIS - Fourth Edition

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781788997423
Pages 272 pages
Edition 4th Edition
Languages
Authors (2):
Andrew Cutts Andrew Cutts
Profile icon Andrew Cutts
Anita Graser Anita Graser
Profile icon Anita Graser
View More author details

Developing your first plugin

If you want to implement interactive tools or very specific graphical user interfaces, you will need to build a plugin. In the previous exercises, we introduced the QGIS Python API. Now we will focus on the necessary steps to get our first QGIS plugin built. The great thing about creating plugins for QGIS is that there is a plugin called Plugin Builder. Plugin Builder allows you to build the framework for a plugin. Also ensure that you install Plugin Reloader, since this is very useful for plugin development. It lets you reload your plugin without restarting QGIS every time you make changes to the code. When you have installed both plugins, your Plugins toolbar will look similar to this:

The plugin reloader

The simplest way to create plugins using Windows 10 is by using a version of QGIS installed via OSGeo4W. The plugin described here will assume...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}