extract raster metadata on upload