I have a vector polygon layer which represents water bodies and I have a raster layer (250m pixel NDVI values). What I need is to mask all pixels in a raster layer that intersect my water mask and turn them into NoData.
Since I want to do it in ArcMap, there seems to be a bunch of tools like set null and con, but they work only with raster data. On the other hand, extract by mask does the opposite to what I need: it masks everything BUT the mask.
So my question is: is there a (best) way to apply a vector mask to a raster layer in ArcMap? And if no - how do I do it through rasterizing vector data, taking into account the resolution of the target layer?