mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[processing] Clip alg allows mask in different CRS to clipped layer
This commit is contained in:
parent
dd0bb8c161
commit
a6a3027ea6
@ -84,7 +84,7 @@ class Clip(QgisAlgorithm):
|
||||
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user