Skip to content

Commit f451d24

Browse files
committed
[sextante]Fixed issue in algorithms that change projection of output layers
1 parent 5fdad66 commit f451d24

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

python/plugins/sextante/algs/ftools/ReprojectLayer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ def processAlgorithm(self, progress):
7979
progress.setPercentage(int(current * total))
8080

8181
del writer
82+
83+
self.crs = targetCrs

python/plugins/sextante/gdal/translate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def processAlgorithm(self, progress):
107107
if srs is not None:
108108
arguments.append("-a_srs")
109109
arguments.append(str(srs))
110+
self.crs = srs
110111
if sds:
111112
arguments.append("-sds")
112113
if len(extra) > 0:

0 commit comments

Comments
 (0)