Thank you very much, I think this will work. One little question: For the nibble tool I need a raster where values inside the polygons are set no data value and outside the polygon a constant value. How do I do that?
Creating a raster where values inside polygons are set to a constant value would work with Polygon to Raster, but I need the reverse case.