Creating a QGIS Plugin

From CUOSGwiki
Jump to navigationJump to search

Disclaimer

This tutorial was created for Microsoft Windows platforms. It assumes a basic knowledge of GIS Environments and Python syntax.

Introduction

This tutorial contains instructions to aid you in the creation of your own QGIS plugins.

Data

As most of this tutorial is software based, the only data required is a shapefile layer for testing purposes at the end. One can find the shapefile used for testing here.

Be sure to keep all the downloaded files together,in the same project folder. Keep the folder pathway and filenames simple and clear.

      •	Ex.C:\Users\Larry\QgisProjects

Methods

Software Installation

Installing QGIS

The latest version of QGIS is good for this tutorial, it can either be the standalone QGIS or OSGeo installer (both come equipped with some form of Qt creator). For QGIS installation refer to here.

Installing VS Code

Installing QGIS Plugins

Python Bindings