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 16719
0 votes
1 answer
131 views

Make many lines in one layer (Python)

I what to create many lines with this code: v_layer = QgsVectorLayer("LineString", "cable", "memory") pr = v_layer.dataProvider() seg = QgsFeature() seg.setGeometry(QgsGeometry.fromPolyline([line_sta …
user1573901's user avatar
0 votes
2 answers
186 views

Python to get ids from shapefile don't return all records

I have some Python code to get the ids and georeference from a shapefile: canvas = qgis.utils.iface.mapCanvas() allLayers = canvas.layers() nos = QgsFeature() for i in allLayers: if i.name()=='pa …
user1573901's user avatar
0 votes
1 answer
189 views

How to convert geometry of shapefile to decimals

I try to create a line with two points. These points are obtained in a shapefile layer. How can I convert that points to decimals?
user1573901's user avatar