[QGIS-Developer] How can I load a color map from txt file into a raster layer using PyQGIS?

Luis Eduardo luis3176 at yahoo.com
Sun Nov 20 08:55:41 PST 2022


Hi
I need to configure a pseudocolor symbology of a raster image using a color map file in txt format using PyQGIS, how can I do it, what class allows me to access to this configuration?
This can be done manually with the buttons located at the bottom of the Layer Properties, in the pseudocolor symbology settings. The buttons highlighted in the  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221120/67f5f4a8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1668963313489blob.jpg
Type: image/png
Size: 49036 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221120/67f5f4a8/attachment-0001.png>


More information about the QGIS-Developer mailing list