make raster resource type working