Skip to content
Browse files
[processing] Allow extent parameters to avoid matching layer CRS check
  • Loading branch information
nyalldawson committed Feb 13, 2017
1 parent fbf99af commit 3ecafb34721806a7046d1777ec58d362c812fa4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -328,6 +328,7 @@ class ParameterExtent(Parameter):
def __init__(self, name='', description='', default=None, optional=True):
Parameter.__init__(self, name, description, default, optional)
# The value is a string in the form "xmin, xmax, ymin, ymax"
self.skip_crs_check = False

def setValue(self, value):
if not value:
@@ -133,6 +133,9 @@ def checkExtentCRS(self):
if != projectCRS:
unmatchingCRS = True
if isinstance(param, ParameterExtent):
if param.skip_crs_check:

value = self.mainWidget.wrappers[].widget.leText.text().strip()
if value:
hasExtent = True

0 comments on commit 3ecafb3

Please sign in to comment.