The vector data is a continuous set of numerically classified polygons (1 through to 6). I've used used VectorOnRasterOverlayer to do this but the output is not ideal. For some pixels there will be two or more different vector classes. I havent yet found a way to select which to use. If, for example, there are vector classes 1, 3 and 6 for a particular pixel, I'd like the highest value, 6, to always be used. Any suggestions?