8
votes
Accepted
Using NET to create QGIS Plugin
By default you can't, QGIS works only with Qt + C++ and Qt + Python plugins because .NET and C# libraries are not included in the standard QGIS installation. An official package for .NET doesn't exist ...
4
votes
Accepted
Using PyQGIS to get data contained in the "in-memory editing buffer" of layer that is currently being edited
For that you can use the QgsVectorLayerEditBuffer class which you can retrieve by calling editBuffer on your QgsVectorlayer.
In the following example I print all changed attribute values in my active ...
3
votes
Using PyQGIS to get data contained in the "in-memory editing buffer" of layer that is currently being edited
As @juto96’s answer indicates, you can use the QgsVectorLayerEditBuffer to query information about the attributes and geometries changes. In addition, until the changes are committed or rolled back, ...
2
votes
QGIS plugin showing multiple messages in the message bar
You could use QTimer.singleShot to create a one-time timer that triggers the pushMessage-call after a specified time (in ms):
from qgis.utils import iface
from PyQt5.QtCore import QTimer
iface....
2
votes
Creating Minimum Spanning Tree that follows roads in QGIS
Don't know about this plugin, but try to use v.net.spanningtree from GRASS/Processing where you can specify points and lines layers:
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
qgis-plugins × 3093qgis × 1928
pyqgis × 1049
qgis-3 × 412
python × 319
qgis-processing × 198
qgis-2 × 196
pyqt × 96
pyqgis-3 × 93
raster × 72
installation × 62
error × 56
grass-gis × 52
pyqt5 × 49
postgis × 47
python-2.7 × 44
qt-designer × 44
openstreetmap × 40
plugins × 40
c++ × 38
coordinate-system × 37
gdal × 35
georeferencing × 34
qgis2web × 32
print-composer × 30