[QGIS-trac] Re: [Quantum GIS] #3807: QgsRasterLayer.identify() is
always True
Quantum GIS
qgis at qgis.org
Sun May 8 07:31:14 EDT 2011
#3807: QgsRasterLayer.identify() is always True
------------------------------------------------+---------------------------
Reporter: ricardogsilva | Owner: borysiasty
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 2.0.0
Component: Python plugins and bindings | Version:
Keywords: | Platform_version:
Platform: Debian | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
Comment(by ricardogsilva):
This is always true if the identified point is inside the extents of the
raster layer, but in an area that is not part of the layer itself, in
which case QgsRasterLayer.identify() returns:
(True, {PyQt4.QtCore.QString(u'Band 1'): PyQt4.QtCore.QString(u'null (no
data)')})
I guess this is not intended behavior as well, because the tuple's first
value is always True.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3807#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services
More information about the QGIS-trac
mailing list