[Qgis-user] How to probe raster values?

Richard Duivenvoorde rdmailings at duif.net
Thu May 15 11:37:22 PDT 2008


Good Work Martin, Thanks !

Richard Duivenvoorde

Martin Dobias wrote:
> On Thu, May 15, 2008 at 12:12 PM, Borys Jurgiel <borys at wolf.most.org.pl> wrote:
>> Martin, so may we expect, that the identify() method will be rewritten to
>> match QMap-type arguments in the near future?
> 
> I've decided not to wait and have done the necessary changes, so from
> SVN r8443 you're able to use identify() for rasters. A simple example
> to print bands and the values at specified point:
> 
> ident = rlayer.identify(QgsPoint(15.30,40.98))
> for (k,v) in ident.iteritems():
>         print str(k),":",str(v)
> 
> cheers,
> Martin
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list