using ids for setting the properties of a raster through the resource