How to get the path of points?
Because I want to open it using this code:
lyr = QgsVectorLayer(path,"YXC","ogr")
Kazuhito
31.4k6 gold badges78 silver badges157 bronze badges
1 Answer 1
Just call the name of your layer parameter (in your case, points
):
lyr = QgsVectorLayer(points, "YXC", "ogr")
answered Apr 21, 2017 at 10:16
lang-py