[Qgis-developer] QgsMapCanvasSnapper "error"

luca_manganelli at comune.trento.it luca_manganelli at comune.trento.it
Wed Mar 10 07:04:39 EST 2010


qgis-developer-bounces at lists.osgeo.org scritti il 10/03/2010 12.57.49

> Hi All,
> I am trying to use QgsMapCanvasSnapper while porting
> qgsmaptoolidentify.cpp to python, but it give an error that :
> Attribute Error: QgsMapCanvasSnapper
>
> I am Able to get the user clicked x.y but Iam unable to fetch the
> "FeatureId" at the user clicked location, is there any function
> regarding this? Can any one help.
> Thanks in advance

Can you post here the source code that generates the error? It's sufficient
only the function, not the entire code.



More information about the Qgis-developer mailing list