File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -568,6 +568,15 @@ Set a subset of attributes by names that will be fetched
568
568
set on the request is expected to be in the same CRS as the destination
569
569
CRS.
570
570
571
+ The feature geometry transformation to the destination CRS is performed
572
+ after all filter expressions are tested and any virtual fields are
573
+ calculated. Accordingly, any geometric expressions used in
574
+ filterExpression() will be performed in the original
575
+ source CRS. This ensures consistent results are returned regardless of the
576
+ destination CRS. Similarly, virtual field values will be calculated using the
577
+ original geometry in the source CRS, so these values are not affected by
578
+ any destination CRS transform present in the feature request.
579
+
571
580
.. seealso:: destinationCrs()
572
581
.. versionadded:: 3.0
573
582
:rtype: QgsFeatureRequest
Original file line number Diff line number Diff line change @@ -522,6 +522,15 @@ class CORE_EXPORT QgsFeatureRequest
522
522
* set on the request is expected to be in the same CRS as the destination
523
523
* CRS.
524
524
*
525
+ * The feature geometry transformation to the destination CRS is performed
526
+ * after all filter expressions are tested and any virtual fields are
527
+ * calculated. Accordingly, any geometric expressions used in
528
+ * filterExpression() will be performed in the original
529
+ * source CRS. This ensures consistent results are returned regardless of the
530
+ * destination CRS. Similarly, virtual field values will be calculated using the
531
+ * original geometry in the source CRS, so these values are not affected by
532
+ * any destination CRS transform present in the feature request.
533
+ *
525
534
* \see destinationCrs()
526
535
* \since QGIS 3.0
527
536
*/
You can’t perform that action at this time.
0 commit comments