QGIS2 compatibility plugin

Lately I’ve been spending time porting a bigger plugin from QGIS 2.8 to 3 while maintaining 2.8 compatibility. You can find it at https://github.com/opengisch/qgis2compat/ and http://plugins.qgis.org/plugins/qgis2compat/ One code to rule them all. My target was to have to edit the

Posted in PyQt, QGIS, QGIS Plugins, Uncategorized

Updating PyQt signals that use lambda in QGIS with 2to3

Just for the sake of documenting things, when running qgis 2to3 on a plugin I encountered a tricky situation regarding signals.

The original code:

The generated code:

so in do_load_project we get False instead of “my test

Posted in PyQt, QGIS Plugins

Using threads in QGIS python plugins

Here an example on how to work with threads in a consistent and clean manner in QGIS python plugins

Posted in Python, QGIS, QGIS Plugins

QGIS: Qt5 and Python3 migration, current state

Behind the scenes a lot has happened to get ready for Qt5 and Python3. On the same codebase that is becoming the next release QGIS 2.16. This is really a great thing since we can focus work on a single

Posted in C++, GIS, Programming, Python, QGIS

Increasing the stability of processing algorithms

Processing just got a new testing framework to improve the long-term stability of this important plugin. And you can help to improve it, even if you are not a software developer! This is yet another piece in our never-stopping crusade to

Tagged with: , , , ,
Posted in C++, Programming, Python, QGIS, QGIS Plugins

Passing android Intents to Qt

Working on QField I had the necessity of passing values from the QtActivity.java to the Qt cpp world, here how I did it using an Intent that is sent to the QtActivity (the one you should not edit that comes with

Posted in Android, C++

QGIS Crowdfunding: 2.5D Rendering

2.5D rendering

Tagged with: , ,
Posted in 3D, C++, Featured, QGIS

Syntactic sugar for PyQGIS

PyQGIS now supports a nice new addition for handling edit sessions in layers. This way, changes get committed automatically at the end of a successful (python) edit session.

with edit(layer):
    do your changes here()

Posted in Programming, Python, QGIS

Performance for mass updating features

This post discusses how to improve the performance of pyqgis code which updates a lot of features by a factor of more than 10.

Posted in Python, QGIS, QGIS Plugins

Python support even closer

anybody has a hint?

Posted in Android QGIS, Python
Contact
OPENGIS.ch GmbH
Mythenstrasse 37A
8840 Einsiedeln
Switzerland

Email: info@opengis.ch
Twitter: @OPENGISch
Mobile: +41 (0)79 467 24 70
Skype: mbernasocchi
Support QField development