[Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?
Hello All, pyQGis 2 changed many things :( For example: how is possible, now, to set the transparency of a raster ? Before, simply was: l_raster.setTransparency(50) And now ? Thank you for any info about it Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?
Try using l_raster.renderer().setOpacity(0.5) giovanni 2013/11/6 Geo DrinX geodr...@gmail.com Hello All, pyQGis 2 changed many things :( For example: how is possible, now, to set the transparency of a raster ? Before, simply was: l_raster.setTransparency(50) And now ? Thank you for any info about it Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Giovanni Allegri http://about.me/giovanniallegri blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?
Great, Giovanni ! Thank you Roberto 2013/11/6 G. Allegri gioha...@gmail.com Try using l_raster.renderer().setOpacity(0.5) giovanni 2013/11/6 Geo DrinX geodr...@gmail.com Hello All, pyQGis 2 changed many things :( For example: how is possible, now, to set the transparency of a raster ? Before, simply was: l_raster.setTransparency(50) And now ? Thank you for any info about it Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Giovanni Allegri http://about.me/giovanniallegri blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer