After having tried to explain in a simple way some Basic rules for writing Python scripts for Processing Toolbox in QGIS, this time we will discover the basic rules for writing custom functions in QGIS using the Function Editor. QGIS allows the definition of user-defined expression functions (in Python or C++) from the Function Editor tab […]Read more "How to create custom functions in QGIS using the Function Editor"
Posts with the [Quick Coding Tip] tag are thought for giving a quick solution to simple PyQGIS tasks. If you already know How to load a layer in QGIS using Python, you may run the following code: for getting the extent of a vector or raster layer. Instead, using this code: you will get the […]Read more "[Quick Coding Tip] How to get the extent from a vector or raster layer in QGIS using Python"