Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 64730

Python bindings for QGIS 3.

3 votes
1 answer
120 views

PyQGIS 3 vector layer labeling settings dialog

I am working on a PyQGIS standalone application with the latest QGIS 3 libraries and in Python 3.7. I would like to allow users to modify any vector layer's labeling style, I know in QGIS program, one …
For Comment's user avatar
  • 1,115
2 votes
1 answer
1k views

pyqgis 3 setup vector labeling not working

I have a standalone pyqgis3.2.1 (Bonn) application that can display maps (vectors, rasters). I tried to setup labeling of vector layers using the following codes, but it only works for point layers, n …
For Comment's user avatar
  • 1,115
1 vote
1 answer
375 views

pyqgis 3 QgsVectorLayer.startEditing() doesn't trigger vertex display

In pyqgis 2 standalone application, the following code will trigger the display of vertex as red cross mark, but in pyqgis 3.0.3 standalone application, it doesn't: layer.startEditing() mapCanvas.ref …
For Comment's user avatar
  • 1,115
5 votes
0 answers
438 views

pyinstaller package of pyqgis 3 standalone program failed import qgis.core

I have a working standalone pyqgis program with mapping ability, it was in python 2.7 and qgis 2.x library. I used pyinstaller to package it up. Now I have migrated this application to python 3.6 and …
For Comment's user avatar
  • 1,115
5 votes
2 answers
1k views

How to set label font color using data defined property for PyQGIS 3?

Set label font color using data defined property in PyQGIS 2 is well established, e.g. in another thread However, PyQGIS 3 completely changed the way this works with no well documented examples. So, …
For Comment's user avatar
  • 1,115