myRectangle );//select featuresQgsFeatureIterator fit = myLayer->getFeatures( QgsFeatureRequest().setFilterRect( myRectangle ).setFlags( QgsFeatureRequest::ExactIntersect ).setSubsetOfAttributes( QgsAttributeList() ) );
OR "time" IS NULL Which I can use as expression in: layer.selectByExpression(...) Regards, Richard Duivenvoorde PS also see my Feature Request:https://github.com/qgis/QGIS/issues/47929about adding an option to switch between selecting visible vs non visible features... On 3/21/22 23:...
dataProvider->enableGeometrylessFeatures(false); } 開發者ID:mmubangizi,項目名稱:qgis,代碼行數:31,代碼來源:qgsattributetypeloaddialog.cpp 示例2: canvasPressEvent ▲點讚 6▼ voidQgsMapToolSimplify::canvasPressEvent( QMouseEvent * e ) { QgsVectorLayer * vlayer = currentVectorLayer(); QgsPoint ...