Re: [Qgis-user] How to probe raster values?

2008-05-16 Thread Borys Jurgiel
> 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: Wow! Huge thanks! I'm running for coffee and then to SVN! :) _

Re: [Qgis-user] How to probe raster values?

2008-05-15 Thread Richard Duivenvoorde
Good Work Martin, Thanks ! Richard Duivenvoorde Martin Dobias wrote: On Thu, May 15, 2008 at 12:12 PM, Borys Jurgiel <[EMAIL PROTECTED]> 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 an

Re: [Qgis-user] How to probe raster values?

2008-05-15 Thread cfarmer
Great move! I've been looking for this functionality for python! Thanks Martin. Carson > On Thu, May 15, 2008 at 12:12 PM, Borys Jurgiel <[EMAIL PROTECTED]> > wrote: >> >> Martin, so may we expect, that the identify() method will be rewritten >> to >> match QMap-type arguments in the near futur

Re: [Qgis-user] How to probe raster values?

2008-05-15 Thread Martin Dobias
On Thu, May 15, 2008 at 12:12 PM, Borys Jurgiel <[EMAIL PROTECTED]> 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 us

Re: [Qgis-user] How to probe raster values?

2008-05-15 Thread Borys Jurgiel
Thanks a lot, guys! Carson, I'll use GDAL, as there is no other way out ;) but I strongly prefer to read values directly from QGis's object due to compatibility with any data source - but this is also subject for another topic. Wait a moment ;) Martin, so may we expect, that the identify() meth

Re: [Qgis-user] How to probe raster values?

2008-05-13 Thread Carson Farmer
Borys, What about using GDAL to access your raster values? Your plugin could get all the needed info (i.e. path, name, etc), load the data using GDAL, and read the data as needed using ReadRaster. Check out: http://www.gdal.org/gdal_tutorial.html or http://www.nabble.com/beginners-programm

Re: [Qgis-user] How to probe raster values?

2008-05-13 Thread Martin Dobias
On Tue, May 13, 2008 at 7:10 PM, Borys Jurgiel <[EMAIL PROTECTED]> wrote: > Hi Everybody! > > I'm working on a plugin in Python and I can't find any way to read values (at > specified coordinates) from raster layers. > > I've tried with "identify" method of QgsRasterLayer object, but it's > una

[Qgis-user] How to probe raster values?

2008-05-13 Thread Borys Jurgiel
Hi Everybody! I'm working on a plugin in Python and I can't find any way to read values (at specified coordinates) from raster layers. I've tried with "identify" method of QgsRasterLayer object, but it's unavailable in my QGIS 0.10. Is this method depreciated, or only there is no Python bind