{"version":"1.0","type":"rich","title":"Example of running standalone QGIS 3 processing algorithms in Ubuntu Linux (typical installation)","description":"This example demonstrates how to run QGIS 3 processing algorithms directly from a standalone Python script on a typical Ubuntu Linux installation, using the `QgsApplication`, `QgsProcessingFeedback`, and `QgsRasterLayer` classes from the `qgis.core` module. It computes raster statistics—specifically a requested stat like `SUM`—via the `processing.run` call with the `\"qgis:rasterlayerstatistics\"` algorithm. The script initializes QGIS with `app.initQgis()`, registers native algorithms through `QgsNativeAlgorithms`, and prints the selected statistic from a raster file provided as a command-line argument.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-a628239f48dd64209440657fb65b8fab?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}