Skip to content
Permalink
Browse files

[processing] Clip alg allows mask in different CRS to clipped layer

  • Loading branch information
nyalldawson committed Jun 11, 2017
1 parent dd0bb8c commit a6a3027ea6a4fc4a26c6ce093b859561591e6f9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/Clip.py
@@ -84,7 +84,7 @@ def processAlgorithm(self, parameters, context, feedback):

# first build up a list of clip geometries
clip_geoms = []
for mask_feature in mask_source.getFeatures(QgsFeatureRequest().setSubsetOfAttributes([])):
for mask_feature in mask_source.getFeatures(QgsFeatureRequest().setSubsetOfAttributes([]).setDestinationCrs(feature_source.sourceCrs())):
clip_geoms.append(mask_feature.geometry())

# are we clipping against a single feature? if so, we can show finer progress reports

0 comments on commit a6a3027

Please sign in to comment.
You can’t perform that action at this time.