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 59869
9 votes
2 answers
10k views

Activating layer by its name in PyQGIS

I have tried with this method: Getting layer by name in PyQGIS? … And this one: Getting a layer that is not active with PyQGIS But I always get this error message, because I'm not activating the layer, only creating a list of layer names. …
PabloQG's user avatar
  • 309
5 votes
3 answers
2k views

Measure distances between specific features in QGIS for Desktop

I'm completely new using PyQGIS and developing plugins. Currently I have a layer with the X and Y coordinates of electric distribution poles, where each pole is a feature. …
PabloQG's user avatar
  • 309
3 votes
1 answer
1k views

How to merge layers into a single QgsVectorLayer?

I have a set of different layers (and their respective shapefiles) with information of electric lines. All the layers have the same Fields in their Attribute Tables, but contain information about diff …
PabloQG's user avatar
  • 309
3 votes
1 answer
3k views

Measure distance between vertices of polylines in QGIS for Desktop

lines in the form of vector polylines as shown in the image below, and I need to measure the distance between the first and last vertex of each line and all the other line vertices on the layer using PyQGIS
PabloQG's user avatar
  • 309