I want to draw a track in QGIS with mouse-click to use it inside the print composer(atlas generation).
The best way to do this for me is too click on the screen and the python script in the background set an autoincrement on my first column in the attribute table of my layer.
I already use it with the "add feature" function in QGIS, but it's not really comfortable.
For each click I make, a new row should be created. Does someone have an idea how to program this task with PyQgis?