diff --git a/python/plugins/processing/script/ScriptTemplate.py b/python/plugins/processing/script/ScriptTemplate.py index acf5b2baee8..02606138620 100644 --- a/python/plugins/processing/script/ScriptTemplate.py +++ b/python/plugins/processing/script/ScriptTemplate.py @@ -149,6 +149,9 @@ class ExampleProcessingAlgorithm(QgsProcessingAlgorithm): source.sourceCrs() ) + # Send some information to the user + feedback.pushInfo('CRS is {}'.format(source.sourceCrs().authid())) + # If sink was not created, throw an exception to indicate that the algorithm # encountered a fatal error. The exception text can be any string, but in this # case we use the pre-built invalidSinkError method to return a standard