I'm trying to grab the pixels that intersect with my polygon shapefile and apply transparency to them (that is, I'm trying to create a hole in my raster)
For that, I get all the pixels that are in the footprint of the shapefile in a list (see code below) Then I used the QgsRasterTransparency.TransparentThreeValuePixel () class to apply transparency, but I get an error message: Error message: AttributeError: 'Dataset' object has no attribute 'renderer'
_______________________________________________ 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
