AFAICS the identify method has moved to QgsRasterDataProvider, and has
changed the signature (now you pass the type of identify).
The pointsamplingtool should be upgraded.

giovanni

2012/10/19 Paolo Cavallini <[email protected]>

>  Hi all.
> With current osgeo4w, PST fails with:
>
>   File
> "/home/paolo/.qgis//python/plugins/pointsamplingtool/doPointSamplingTool.py",
> line 273, in accept
>     self.sampling(outPath)
>   File
> "/home/paolo/.qgis//python/plugins/pointsamplingtool/doPointSamplingTool.py",
> line 345, in sampling
>     ident = rastLayer.identify(point)[1]
> AttributeError: 'QgsRasterLayer' object has no attribute 'identify'
>
> Is this related to:
>
> https://github.com/qgis/Quantum-GIS/commit/b5412cbf950d489c824ff322e0ae9a312f4a06da
> and fixed with it?
> Thanks.
>
> --
> Paolo Cavallini - Faunaliawww.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
>
>
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to