0

I have a .qgs and .qpt files. And I would like to know if it is possible to use them in a standalone PyQGIS script?

I am using QGIS 2.18 and Python 2.7

enter image description here This is the template that I would like to use.

enter image description here And put this image inside that template using python if that is possible. I'm nearly finished with my thesis and this is the only part that is holding me back.

6
  • thank you for the response. I will look into this tomorrow. But I have a question. the link that you sent. I saw that it utilizes iface. will that work in a standalone script? – Francis Kane Apr 15 '19 at 9:52
  • No, that won't work, but you will also only need parts of the code there. – Matthias Kuhn Apr 15 '19 at 9:55
  • Can you give me an idea what parts are those? Thank you so much – Francis Kane Apr 15 '19 at 11:49
  • add sample when you are loading a .qgs and .qpt – Fran Raga Apr 17 '19 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.