[QGIS-trac] [Quantum GIS] #3001: minvalue() doesn't reflect change
in data (Shapefile)
Quantum GIS
qgis at qgis.org
Tue Sep 14 14:15:57 EDT 2010
#3001: minvalue() doesn't reflect change in data (Shapefile)
------------------------------------------------+---------------------------
Reporter: volter | Owner: jef
Type: bug | Status: new
Priority: major: does not work as expected | Milestone:
Component: Vectors | Version: Trunk
Keywords: | Platform_version:
Platform: Fedora | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
This is more or less related to https://trac.osgeo.org/qgis/ticket/3000
Calling
{{{
qgis.utils.iface.activeLayer().dataProvider().maximumValue(2).toString()
}}}
from QGIS' Python console does not reflect change in data. The shapefile
must be loaded again, to get correct min or max.
minimumValue() is also affected, but featureCount() works! I would expect
them all to work without the need to reload the layer. I don't know,
whether other formats are affected.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3001>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list