Hey man, great video! It's really helpful for discovering what's possible with python in qgis. I find it even better that you left in some of the errors, which you then debugged.
One idea for a new video-- Been trying to figure out how to open an existing QGIS layer with pre-loaded labels. Having to add label names via the Properties -> Labels -> Single Labels by hand after the file is loaded otherwise.
I haven't looked into how to do this with python yet. If you use python code to symbolize the layer while it's in open in the table of contents you can always export a QLR manually from the symbology tab of the layer properties. I'll look into how to do this in python when I have time.
thank you for this tutoriel, i have juste one question if you ca helm me please, I'm trying to load on QGIS interface a geom tab with it's attribute from my data base postgis using PyQGIS. This tables was created before usinf an import from a shape file. For my project I which juste work with my data base. Thank you in advance for your answer.
@@geospatialschool Thanks, helped me a lot. First time I tried always got an error and thought it depends on the QGIS version. Tried it again with copy and passte from your website, now it works!
Hey man, great video! It's really helpful for discovering what's possible with python in qgis. I find it even better that you left in some of the errors, which you then debugged.
One idea for a new video-- Been trying to figure out how to open an existing QGIS layer with pre-loaded labels. Having to add label names via the Properties -> Labels -> Single Labels by hand after the file is loaded otherwise.
this is very helpful! Is there anyway to then export the layer as a QLR so it can easily be uploaded into Q already symbolized?
I haven't looked into how to do this with python yet. If you use python code to symbolize the layer while it's in open in the table of contents you can always export a QLR manually from the symbology tab of the layer properties. I'll look into how to do this in python when I have time.
thank you for this tutoriel, i have juste one question if you ca helm me please,
I'm trying to load on QGIS interface a geom tab with it's attribute from my data base postgis using PyQGIS.
This tables was created before usinf an import from a shape file.
For my project I which juste work with my data base.
Thank you in advance for your answer.
Excellent. Thanks very much.
You are welcome!
excellent video!
That's cool !! congrats !...but how can I do if my date come from a SQLServer table, instead of a shape file in a folder ? any tip ?
Awesome! Thanks!
You bet!
Thans for your gread videos. But import GUI seem not to work for QGIS3 (PyQt5). Any hint how to solve it with QGIS 3?
This is with QGIS 3
@@geospatialschool Thanks, helped me a lot. First time I tried always got an error and thought it depends on the QGIS version. Tried it again with copy and passte from your website, now it works!
more video please
I have 8 hours of video instruction on this topic in this course: geospatialschool.com/courses/qgis-python-scripting-with-pyqgis/
how did you manage to make a mistake for every single line of code? lol
That's what happens when you try to do this unrehearsed, haha
@@geospatialschool haha, jokes aside this video was indeed helpful