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 > unavailable in my QGIS 0.10. Is this method depreciated, or only there is no > Python binding for it yet? > > Is there any other way, or is that my time for switch to C? :)
Hi, identify() method does exist, however it's not included in PyQGIS because of use of std::map as an argument (which is currently discouraged in favour of QMap). I'm affraid there's not other way in Python to do read values from raster layer. Martin _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user