I'm new to QGIS, sorry if this is a newbie question... I need to clip about 40 different raster layers from one vector layer (that has the boundaries of 4 neighboring countries) but I need them all to have the same exact size, which didn't happen when I tried clipping the rasters one by one... How can I do this?

I thought about using the first cut raster to clip all others but I can't clip a raster with another raster... or can I?

Thanks for any help


1 Answer 1


I think I had to post this question to solve it... I clipped the first raster with my vector layer and used it to make a mask with either 1's ou 0's. I then multiplied this mask with every raster one by one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.