I have raster files with the same resolution (30x30m), but different dimensions, and I would like to have all rasters with the same dimension and resolution.
So, here is the first raster:
and here is the second:
Together, they look like this:
I want them to have the same shape. Using R, I managed to crop A according to B, by simply using the
raster::crop() function, and created a new raster (let's call it A1). However, it doesn't work if I try to crop B according to A or A1, but I don't get any kind of error. I am even able to plot it, and it shows the raster with the same rectangular shape, instead of considering the limits of A/A1...
I have also tried with QGIS and I have exactly the same problem: I can crop A according to B but not the opposite.
Does anyone know how can I crop this raster?