I want to get QGIS to update from a CSV file like in this How to update data from external table in real time? question, however I can't figure out what to put for "myLayer". How can I define the active QGIS layer in my code?
Asked
Active
Viewed 88 times
import qgis.utilsand thenmyLayer = qgis.utils.iface.activeLayer()– Joseph Feb 17 '15 at 10:39