I notice that the identify type is not required.<div>Simply changing:</div><div><br></div><div>ident = rastLayer.identify(point)[1]</div><div><br></div><div>to </div><div><br></div><div>ident = rastLayer.dataProvider().identify(point)[1]</div>
<div><br></div><div>should work...</div><div><br></div><div><div><br></div><div><br><br><div class="gmail_quote">2012/10/19 G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">AFAICS the identify method has moved to QgsRasterDataProvider, and has changed the signature (now you pass the type of identify).<div>
The pointsamplingtool should be upgraded.</div><div><br></div><div>giovanni<br><br><div class="gmail_quote">
2012/10/19 Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">

  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi all.<br>
    With current osgeo4w, PST fails with:<br>
    
    <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> 
      File
      "/home/paolo/.qgis//python/plugins/pointsamplingtool/doPointSamplingTool.py",
      line 273, in accept<br>
          self.sampling(outPath)<br>
        File
      "/home/paolo/.qgis//python/plugins/pointsamplingtool/doPointSamplingTool.py",
      line 345, in sampling<br>
          ident = rastLayer.identify(point)[1]<br>
      AttributeError: 'QgsRasterLayer' object has no attribute
      'identify'</p>
    
    <br>
    Is this related to:<br>
<a href="https://github.com/qgis/Quantum-GIS/commit/b5412cbf950d489c824ff322e0ae9a312f4a06da" target="_blank">https://github.com/qgis/Quantum-GIS/commit/b5412cbf950d489c824ff322e0ae9a312f4a06da</a><br>
    and fixed with it?<br>
    Thanks.<span><font color="#888888"><br>
    <pre cols="72">-- 
Paolo Cavallini - Faunalia
<a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a>
Full contact details at <a href="http://www.faunalia.eu/pc" target="_blank">www.faunalia.eu/pc</a>
Nuovi corsi QGIS e PostGIS: <a href="http://www.faunalia.it/calendario" target="_blank">http://www.faunalia.it/calendario</a></pre>
  </font></span></div>

<br></div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>