Getting Started with PyQGIS , Python for Qgis (Series Part 2): Automating Qgis Tools

preview_player
Показать описание
In this second part of our PyQGIS tutorial series, we delve into automating existing tools in Qgis and as an example, we will automate the clip tool in QGIS using Python. We continue to cover the basics of PyQGIS scripting and explore how to utilize the QGIS Python API to automate GIS processes. You'll learn how to create a QGIS processing script as well as get an introduction to the PyQGIS clip. By the end of this tutorial, you'll have a solid understanding of how to automate QGIS tools with PyQGIS, and how to apply this knowledge to your own Python GIS projects.

✅Support me on Patreon here :

✅Buy me a Coffee here ☺️

✅Follow me on Linkedin

✅Check out my Trainings:
Рекомендации по теме
Комментарии
Автор

I normally use Field Calculator or Spatialite but I can see PyQGIS is very promising.
Let's hope you are going to make more of these videos, the available documentation is quite difficult to consult if you are not an experienced programmer, thanks a lot for your help, much needed!

StefanoVerugi
Автор

Very nice to see how easy it is to apply existing tools and pass in parameters. I am looking to daisy chain several tools. This shows me I can do it. Thanks. Cute song by the way!

MrSheymie
Автор

Thank you, you told everything very informatively. Can you please make a tutorial on creating tools using the script editor. I would also like to see the development of a plugin (plugin builder + plugin reloader).

I would like to make a tool that:
1) drew the shortest lines from points to the river
2) extended these lines
3) Divided the river with extended lines

AnimationLook
Автор

using Tools in PyQGIS when you open the window and type all needed parameters. instead of running it go to the bottom left > advanced > copy as Python command and copy the script with all the settings, very useful feature

StefanoVerugi
visit shbcf.ru