Back to Browse

qgis automation

5.7K views
Sep 19, 2022
31:58

In this video, I will take a closer look at how to automate processes in QGIS using python and demonstrate many tricks to make automating with python in QGIS much easier than you think. Link to the python script https://www.geoinformatics.online/wp-content/uploads/simple-file-list/scripting-in-python.txt Chapters 0:00 Automating QGIS using Python 1:00 Four methods of automation 1:20 The visual model builder 2:13 The batch processing 2:40 Python notebooks (Anaconda or google colab) 3:50 The python console in QGIS 4:35 QGIS project structure suitably for automatic 5:30 Creating a project structure suitably for automatic 6:40 Setting the home directory (project home) in QGIS 7:23 Why setting the home directory in a QGIS project is important 8:26 Creating a frame for clipping the other layers 10:55 Using the processing tools GUI to build the snippets of the automation 11:28 Densify before clipping layers with different projections 13:04 Copying the python command snippet 13:40 Formatting the Python code for easier reading 14:50 Getting parameter help in the python console 16:30 Creating the clip files snippet 18:40 Creating the reproject files snippet 20:45 The generic QGIS python console snippet and the project home path 21:55 The python os.path library 22:53 Making the densify tool command more generic 23:36 Creating a list of files to iterate over (all layers in a folder) 24:45 iterating over the list of files (clipping them) 25:47 iterating over the list of files (reprojecting them) 27:33 Running the python program in the python console in QGIS 28:35 Summing up the process of creating python automation in QGIS

Download

0 formats

No download links available.

qgis automation | NatokHD