You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: python/PyQt6/core/auto_additions/qgis.py
+18
Original file line number
Diff line number
Diff line change
@@ -1671,6 +1671,24 @@
1671
1671
Qgis.MakeValidMethod.__doc__="Algorithms to use when repairing invalid geometries.\n\n.. versionadded:: 3.28\n\n"+'* ``Linework``: '+Qgis.MakeValidMethod.Linework.__doc__+'\n'+'* ``Structure``: '+Qgis.MakeValidMethod.Structure.__doc__
Copy file name to clipboardexpand all lines: python/core/auto_additions/qgis.py
+4
Original file line number
Diff line number
Diff line change
@@ -1640,6 +1640,10 @@
1640
1640
Qgis.MakeValidMethod.__doc__="Algorithms to use when repairing invalid geometries.\n\n.. versionadded:: 3.28\n\n"+'* ``Linework``: '+Qgis.MakeValidMethod.Linework.__doc__+'\n'+'* ``Structure``: '+Qgis.MakeValidMethod.Structure.__doc__
1641
1641
# --
1642
1642
Qgis.MakeValidMethod.baseClass=Qgis
1643
+
QgsFeatureRequest.Flag=Qgis.FeatureRequestFlag
1644
+
Qgis.FeatureRequestFlag.baseClass=Qgis
1645
+
Qgis.FeatureRequestFlags.baseClass=Qgis
1646
+
FeatureRequestFlags=Qgis# dirty hack since SIP seems to introduce the flags in module
1643
1647
# monkey patching scoped based enum
1644
1648
Qgis.SpatialFilterType.NoFilter.__doc__="No spatial filtering of features"
1645
1649
Qgis.SpatialFilterType.BoundingBox.__doc__="Filter using a bounding box"
Copy file name to clipboardexpand all lines: src/core/qgis.h
+39
Original file line number
Diff line number
Diff line change
@@ -1644,6 +1644,45 @@ class CORE_EXPORT Qgis
1644
1644
};
1645
1645
Q_ENUM( MakeValidMethod )
1646
1646
1647
+
enum FeatureRequestFlag SIP_MONKEYPATCH_SCOPEENUM_UNNEST( QgsFeatureRequest, Flag ) : int
1648
+
{
1649
+
NoFlags = 0,
1650
+
NoGeometry = 1, //!< Geometry is not required. It may still be returned if e.g. required for a filter condition.
1651
+
SubsetOfAttributes = 2, //!< Fetch only a subset of attributes (setSubsetOfAttributes sets this flag)
1652
+
ExactIntersect = 4, //!< Use exact geometry intersection (slower) instead of bounding boxes
1653
+
IgnoreStaticNodesDuringExpressionCompilation = 8, //!< If a feature request uses a filter expression which can be partially precalculated due to static nodes in the expression, setting this flag will prevent these precalculated values from being utilized during compilation of the filter for the backend provider. This flag significantly slows down feature requests and should be used for debugging purposes only. (Since QGIS 3.18)
GeometryNoCheck = 0, //!< No invalid geometry checking
1682
+
GeometrySkipInvalid = 1, //!< Skip any features with invalid geometry. This requires a slow geometry validity check for every feature.
1683
+
GeometryAbortOnInvalid = 2, //!< Close iterator on encountering any features with invalid geometry. This requires a slow geometry validity check for every feature.
0 commit comments