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 not deleted user 166178
7 votes
1 answer
390 views

Automating classification of symbology in PyQGIS

However I still have to press the classify button which I also want to automate in PyQGIS. Can anyone help me with this last step? …
Niels Janssens's user avatar
6 votes
1 answer
288 views

Creating custom categorized symbology and coloring based on two fieldNames

I am developing a plugin in PyQGIS 3. Within this plugin, I want to change the symbology of a layer to categorized. I want to categorize based on the column Collecti_2 in PyQGIS 3. …
Niels Janssens's user avatar
2 votes
0 answers
93 views

Is there a way to calculate balances of products between countries?

I am interested in creating a PyQGIS function that calculates balances between these countries based on the distance to optimize these flows; E.G: Germany to Belgium 10, Germany to France 40, equilibrium …
Niels Janssens's user avatar
2 votes
1 answer
394 views

Is there a way to create arrow subSymbol on top of geometry generated symbol using PyQGIS?

Currently, I am trying to figure out how to set a subsymbol for a PyQGIS generated geometrygeneratorsymbol layer. …
Niels Janssens's user avatar
2 votes
0 answers
224 views

Adding graduated symbology to created arrows using PyQGIS

I would like to add graduated Symbology to my custom created arrows. Unfortunately it does not seem to work. When manually creating graduated symbology the steps are rather easy. Could someone help me …
Niels Janssens's user avatar
1 vote
Accepted

Is there a way to create arrow subSymbol on top of geometry generated symbol using PyQGIS?

The answer to set a subsymbol in PYQGIS qgis 3.x Replace the sub symbol with the new marker symbol: shape_sym.subSymbol().changeSymbolLayer(0, arrow) …
Niels Janssens's user avatar
1 vote
1 answer
151 views

Create ranged sub-symbology within categorized layers

I am developing a plugin in PyQGIS 3. … Within this plugin, I already succeeded in categorizing using PYQGIS 3 but I am still looking to find a way to create ranges within these newly created categories using PYQGIS 3. …
Niels Janssens's user avatar
0 votes
Accepted

How to add the Geometry type LineString/ MultiLineString within the function QgsGeometryGene...

Never mind, found the solution: added the line shape_sym.setSymbolType(QgsSymbol.Line) afterwords.
Niels Janssens's user avatar
0 votes
1 answer
169 views

How to add the Geometry type LineString/ MultiLineString within the function QgsGeometryGene...

Within a function of pyqgis I am trying to create a layer according to multiple steps. …
Niels Janssens's user avatar
0 votes
Accepted

Create ranged sub-symbology within categorized layers

I found the solution to this question after I took a good look at the existing documentation. Steps that need to be conducted: Create CategorizedRenderer Update existing CategorizedRenderer and chang …
Niels Janssens's user avatar