[Qgis-developer] Get raster (specifically XYZ) transparency in Python

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Feb 9 01:48:07 PST 2017


Got it - it's the renderer, not the layer itself:

QgsRasterLayer.renderer().opacity()



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-raster-specifically-XYZ-transparency-in-Python-tp5307006p5307143.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list