2

enter image description here

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
asked Apr 21, 2017 at 10:11

1 Answer 1

2

Just call the name of your layer parameter (in your case, points):

lyr = QgsVectorLayer(points, "YXC", "ogr")
answered Apr 21, 2017 at 10:16

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.