[QGIS-Developer] pyqgis:generate ColorRampItemList

Martin Landa landa.martin at gmail.com
Tue May 9 08:34:29 PDT 2017


Hi,

example of raster single band renderer in pyqgis cookbook [1] is based
on predefined list of color rules items. Is it possible to generate
rules items automatically from defined min&max values, number of
classes, and classification mode (same when user clicks on 'Classify'
button)?

Thanks, Martin

[1] http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/raster#single-band-rasters

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the QGIS-Developer mailing list