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 60109

An action is something that happens when you click on a feature (in QGIS). It can add functionality to a map, such as retrieving additional information about an object.

1 vote
0 answers
391 views

Get id of last added feature in qgis python action [duplicate]

I created a python qgis action that open the dialog form so the user can add a new feature. maintenance_lyr = QgsMapLayerRegistry.instance().mapLayer('od_maintenance_event20180212171049766') mainten …
var29's user avatar
  • 51
3 votes
2 answers
2k views

How to add a new feature to a layer

I have a table with three attributes [field1, field2, field3]. I'm trying to insert a new feature to this table by defining field2 and field3 only. lyr = QgsMapLayerRegistry.instance().mapLayer('la …
var29's user avatar
  • 51
1 vote
0 answers
69 views

Initiate field value before adding new feature

I have two layers: Chambre(obj_id) Ouvrage(obj_id, fk_chambre) The attribute Ouvrage.fk_chambre is referencing the attribute Chambre.obj_id. I'm trying to create an action on the Chambre layer th …
var29's user avatar
  • 51