I am creating a plugin in qgis 1.8.0 and need to get a variable that is saved in the point table. I was thinking about using QgsMapToolIdentify (self.canvas) function, but it gives me error (NameError: global name 'QgsMapToolIdentify' is not defined).

Can someone help me?

closed as off-topic by PolyGeo Feb 4 at 21:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.


In Qgis 1.8 this is not available in the gui library. Only from version 1.9.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.