Martin Dobias f6f6ebdb44 [FEATURE] API to enable/disable editing of raster data
To create a 2x2 raster block with one byte per pixel:

```
block = QgsRasterBlock(Qgis.Byte, 2, 2)
block.setData(b'\xaa\xbb\xcc\xdd')
```

To overwrite existing raster data at position 0,0 by the 2x2 block:

```
provider.setEditable(True)
provider.writeBlock(block, band, 0, 0)
provider.setEditable(False)
```
2017-01-19 15:46:46 +08:00
..
2016-11-16 09:33:19 +01:00
2016-11-16 09:33:19 +01:00
2016-12-15 15:26:36 +01:00
2016-07-25 10:15:46 +10:00
2016-10-01 15:39:03 +02:00
2016-07-21 08:40:50 +10:00
2016-12-20 01:20:08 +01:00
2017-01-16 13:22:43 +02:00
2017-01-12 22:01:50 +01:00
2016-09-15 18:34:15 +10:00
2016-11-08 09:05:47 +10:00
2017-01-12 22:01:50 +01:00