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 6626
2 votes
0 answers
96 views

Why is my custom aggregate function not returning data in the order I've specified?

I have a polygon layer where many features intersect each other. I want to flatten these overlaps and pick out attribute values according to a custom order. To do this, I've been using QGIS's Union t …
dericke's user avatar
  • 1,012
2 votes
2 answers
1k views

Getting file path from vector layer object in QGIS processing framework

Using the QGIS 3.x processing framework, given a vector layer as an input parameter: (from the default script template) def initAlgorithm(self, config=None): self.addParameter( QgsProcessi …
dericke's user avatar
  • 1,012
8 votes
Accepted

Getting file path from vector layer object in QGIS processing framework

I was able to get the path using the following: self.parameterDefinition('INPUT').valueAsPythonString(parameters['INPUT'], context)
dericke's user avatar
  • 1,012