Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Allow use of Qgs(Referenced)Rectangle for processing extent parameter…
… values And add a new target CRS argument to parameterAsExtent. If set, and the source CRS of the rectangle parameter can be determined, then the returned value will be the rectangle automatically reprojected to the desired target CRS.
- Loading branch information
Showing
with
94 additions
and 7 deletions.
- +5 −1 python/core/processing/qgsprocessingalgorithm.sip
- +5 −1 python/core/processing/qgsprocessingparameters.sip
- +2 −2 src/core/processing/qgsprocessingalgorithm.cpp
- +5 −1 src/core/processing/qgsprocessingalgorithm.h
- +30 −1 src/core/processing/qgsprocessingparameters.cpp
- +5 −1 src/core/processing/qgsprocessingparameters.h
- +42 −0 tests/src/core/testqgsprocessing.cpp