further changes to make raster resource type metadata creation work