esample for emptyRaster