From 33f83d68f04bbbea29e7332ad948098821ac95b7 Mon Sep 17 00:00:00 2001 From: Luigi Pirelli Date: Mon, 3 Sep 2018 10:58:37 +0200 Subject: [PATCH] revert crs to sourceCrs for feature sources --- python/plugins/processing/script/ScriptTemplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/processing/script/ScriptTemplate.py b/python/plugins/processing/script/ScriptTemplate.py index 0631a3ecda8..453deb16936 100644 --- a/python/plugins/processing/script/ScriptTemplate.py +++ b/python/plugins/processing/script/ScriptTemplate.py @@ -150,7 +150,7 @@ class ExampleProcessingAlgorithm(QgsProcessingAlgorithm): ) # Send some information to the user - feedback.pushInfo('CRS is {}'.format(source.crs().authid())) + 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