revert crs to sourceCrs for feature sources

This commit is contained in:
Luigi Pirelli 2018-09-03 10:58:37 +02:00
parent ddc5e52ab3
commit 33f83d68f0

View File

@ -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