QGIS Python (PyQGIS) - Create a Custom Processing Script for QGIS in the Processing Toolbox

preview_player
Показать описание
Learn to create custom Python scripts that you can run in QGIS. Python scripts will automatically be added to the QGIS Processing Toolbox. This video tutorial gives and example of how to load a vector layer as a source and change the layer's symbology.

Рекомендации по теме
Комментарии
Автор

This video should be the defacto video for creating QGIS scripts. Pretty much any scripting in QGIS is going to need a UI and the ability to reuse code. Most other videos show you how to do 2+2 in the Python console, and that's not practical when you need to solve a real problem, and re-use it.

ryanmcgowan
Автор

Hello man, I loved your video but want to know that can we convert processing toolbox to py plugin??

LEO_
Автор

Hey! Thanks for the great video! My coding background is in MATLAB but I'm using QGIS/py for a research project. I'm trying to write a script to output the search radius for Hotspot (kernel density) algorithm to Silverman's rule of thumb bandwidth with is a simple expression based on raster cell number, IQR, and std.dev. How should I go about declaring classes when my inputs/outputs are scalars rather than spatial files? Matlab's class declaration is "under the hood" so to speak so I'm starting from square one. Thanks!

paytonseats
Автор

Hey! Great tutorial! I am trying to do my first template but have input 2 be a raster

RobertoEMou
Автор

So what's the difference with the Geoprocessing tools?

marklexus
Автор

Is it possible to completely automate the generation of QGIS-Projects.
Like having a folder for each project with properly formatized CSV-Files and a background layer, which are then imported to QGIS and saved as Project file with a python loop?
I was asked to do research on that but unfortunately I dont have any QGIS/ Python skills worth mentioning.

j.r.
Автор

This is great! Do you know if it's possible to add widgets to the processing provider option? Like if I wanted to add a drop down menu that was populated with the fields of an input shapefile, or produce a plot as an output as well as the mapped output? Also you mention in the video that you have another video on how to add processing algorithms within this processing algorithm, I was just curious which video that is. Thanks for the terrific introduction to this method of plugin building!

kiyomiholman
Автор

You mention that if we're interested in using a processing algorithm within a script to check out your other video. Which video is that? I can't seem to find it.

sadiemoland
Автор

can you edit a script to me? a can pay for it, look azimuth and calculator plugin

danielbasiliomail
Автор

Hello, does the course can be helpful in order to develop a script that can do maps from large databases ? spatial joins need to be done in order to do emissions maps with the help of a code

ilanabensignor