Split vector layer
ato get a separate layer for each district (polygon feature).Run
Clip Raster by Mask Layer
in Batch Mode. For the output, define a path and when promted, forAutofill mode
selectFill with parameter values
>Mask Layer
- or, to get more sophisticated options how to name the files based on attribute values, useAutofill...
>Calculate by Expression...