QGIS Python - Use Processing Tools in a Python Script

  Рет қаралды 24,226

Geospatial School

Geospatial School

Күн бұрын

This QGIS video tutorial will teach you how to combine the power of the QGIS processing toolbox with the ease of Python automation. We use the buffer tool as an example of how to write a Python script that can run tools from the QGIS processing toolbox.
Visit opensourceoptions.com for more content and courses

Пікірлер: 26
@elzbietazielinska6484
@elzbietazielinska6484 4 жыл бұрын
Thank you very much! I have been struggling to write a script in my work (I am not even a programmer but I try things) and I wasn`t aware that I can combine python and QGIS tools so easily! This saves me a lot of time.
@geospatialschool
@geospatialschool 4 жыл бұрын
Glad it helped!
@user-dd1ob5yt2b
@user-dd1ob5yt2b 9 ай бұрын
This is an older video, but it still applies. I was able to use these tips to add some additional housekeeping code to a script that I had developed but could easily get to run the housekeeping items that I didn't want to run manually. Really helpful for beginners like me!
@geospatialschool
@geospatialschool 9 ай бұрын
Awesome! I'm glad it was helpful. My opinion is that writing code is not as hard as it seems and anyone with GIS skills can learn to write code
@alessandrofanfani8109
@alessandrofanfani8109 4 жыл бұрын
Thank you very much it is very important for me
@E2I-Community
@E2I-Community 3 жыл бұрын
thanks a lot for handy tips!
@andresbraga3555
@andresbraga3555 5 жыл бұрын
thank you very much!!
@umee1999
@umee1999 Жыл бұрын
Thanks a lot guy , I have got a problem about Fixing Geometry and I use this clip to guide me. And it works.
@geospatialschool
@geospatialschool Жыл бұрын
You're welcome!
@saskiagindraux2752
@saskiagindraux2752 5 жыл бұрын
Cheers!
@vladuttomsa852
@vladuttomsa852 2 жыл бұрын
thank you ! One of the best hack ! 😎
@geospatialschool
@geospatialschool 2 жыл бұрын
You're welcome!
@trapOrdoom
@trapOrdoom 3 жыл бұрын
Godlike.
@ztengineering4803
@ztengineering4803 Жыл бұрын
Please Answer: How to generate intermediate temporary layer in processing. Use this temporary layer in another process in the same script.
@snehakawale8663
@snehakawale8663 4 жыл бұрын
how to find the crossover area between the different shapefiles?
@geospatialschool
@geospatialschool 4 жыл бұрын
Use the intersection tool
@crazyvashisth
@crazyvashisth 4 жыл бұрын
Now that's a great hack 😁😁😁😁😁
@selvalakshmi1072
@selvalakshmi1072 3 жыл бұрын
I have a processing script where I need to polygonize multiple rasters the code runs without an error but the results are not shown in proper location even if the output directory was defined. The log message depict that the result is stored in an local/ temp folder in an inappropriate name. Someone pls help me to resolve it
@joaofolgado3316
@joaofolgado3316 3 жыл бұрын
Hi there, Do you know how to use multiprocessing in qgis. When i use multiprocessing in plugin they start a new instance of the aplication and give me a error. I search for some information but i can't fine. Can you help me ? thank you very much
@geospatialschool
@geospatialschool 3 жыл бұрын
I haven't tried to use multiprocessing with QGIS. I can see how it could create some problems. My guess is that you would be able to use multiprocessing, but there are probably certain API calls that won't work. For example, anything to iface, or the current QGIS instance. I'll try to look into it sometime.
@AnimationLook
@AnimationLook 8 ай бұрын
Can you show the use of the editor and write your own plugin?
@geospatialschool
@geospatialschool 8 ай бұрын
I have a full course on creating QGIS plugins: geospatialschool.com/courses/qgis-python-plugin-development/ I also have a full course on using the QGIS Python API: geospatialschool.com/courses/qgis-python-scripting-with-pyqgis/ If you're looking for free content, there are other videos covering the basics on the YT channel.
@aaronschwartz7396
@aaronschwartz7396 3 жыл бұрын
why do I only get syntax errors when doing exactly what he does here?
@poojarh2181
@poojarh2181 4 жыл бұрын
i am not getting output file. it is showing empty.
@gtosevram
@gtosevram Жыл бұрын
Why should one do this instead of pushing a button?? (not joking or trying to be provocative)
@geospatialschool
@geospatialschool Жыл бұрын
Good questions. Because you might want to make a script that performs multiple operations in sequence with a set of arguments or parameters that don't change. This would make your workflows reproducible. You can also script this out to run for multiple files so you don't have to click through the operation manually if you need to do it 100 times.
QGIS Python (PyQGIS) - Clip Vector Layers
6:22
Geospatial School
Рет қаралды 6 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 36 МЛН
Graphical modeler in QGIS3 - 01 | burdGIS
21:44
burdGIS
Рет қаралды 8 М.
QGIS Python API VSCode
17:22
BcodeTube
Рет қаралды 7 М.
QGIS Python (PyQGIS) - Calculate Field Values (Field Calculator)
18:06
Geospatial School
Рет қаралды 13 М.
Reports in QGIS 3.0
16:40
Mike Miller
Рет қаралды 14 М.
QGIS 3 for Absolute Beginners
32:59
Klas Karlsson
Рет қаралды 760 М.
Mastering Picture Editing: Zoom Tools Tutorial
0:52
Photoo Edit
Рет қаралды 506 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 8 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 660 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 11 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 6 МЛН