Hi Martin, 2017-05-10 10:45 GMT+02:00 Martin Dobias <[email protected]>: > In QGIS master (will be 3.0) there is > QgsSingleBandPseudoColorRenderer::createShader(...) method to do that, > however in 2.x that code is not accessible through API... you could > however still port the underlying classification code to your plugin: > https://github.com/qgis/QGIS/blob/release-2_18/src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp#L345
thanks for your clarification, Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
