[QGIS-trac] [Quantum GIS] #3807: QgsRasterLayer.identify() is
always True
Quantum GIS
qgis at qgis.org
Sun May 8 07:19:05 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 |
------------------------------------------------+---------------------------
Using the python bindings, when trying to identify a point outside of
current raster layer, The QgsRasterLayer.identify() method is returning:
(True, {PyQt4.QtCore.QString(u'Band 1'): PyQt4.QtCore.QString(u'out of
extent')})
which doesn't make much sense IMO. If the result is the "out of extent"
string, then the identifying has failed, so the first entry of the tuple
should be False, instead of True.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3807>
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