Subgroup: Map
Class: QgsMapToolIdentifyFeature¶
-
class
qgis.gui.
QgsMapToolIdentifyFeature
(canvas: QgsMapCanvas, vl: QgsVectorLayer = None)¶ Bases:
qgis._gui.QgsMapToolIdentify
QgsMapToolIdentifyFeature is a map tool to identify a feature on a chosen layer
Parameters: - canvas – the map canvas
- vl –
the vector layer. The map tool can be initialized without any layer and can be set afterward.
The QgsMapToolIdentifyFeature class is a map tool to identify a feature on a chosen layer.
Once the map tool is enable, user can click on the map canvas to identify a feature. A signal will then be emitted.
Methods
Signals
featureIdentified
featureIdentified(self, QgsFeature) [signal] featureIdentified(self, int) [signal] Attributes
-
canvasReleaseEvent
(self, e: QgsMapMouseEvent)¶
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
featureIdentified
¶ featureIdentified(self, QgsFeature) [signal] featureIdentified(self, int) [signal]
-
identify
()¶
-
identifyLayer
()¶
-
identifyRasterLayer
()¶
-
identifyVectorLayer
()¶
-
isSignalConnected
()¶
-
keyPressEvent
(self, e: QKeyEvent)¶
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setLayer
(self, vl: QgsVectorLayer)¶ change the layer used by the map tool to identify
-
timerEvent
()¶
-
toCanvasCoordinates
()¶
-
toLayerCoordinates
()¶
-
toMapCoordinates
()¶
-
toMapCoordinatesV2
()¶