raster reading AND writing