Just some of my pyqgis (QGIS Python) examples, or experiments.
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
canvas
composition
data
projectloading
README.rst
canvas.bat
composition.bat
projectloading.bat
setenv.bat
setenv.sh

README.rst

Just some of my pyqgis (QGIS Python) examples, or experiments.

If you would like to run any bits of the code first run setenv.bat in a OSGeo4W shell and then run any of the examples:

python canvas\canvas.py

Code so far:

  • canvascanvas.py - Example of loading a QgsMapCanvas into a QWidget
  • compositioncomposition.py - Example of loading layers from a project file and exporting using QgsComposition.