New answers tagged

1 vote
Accepted

How to mask raster based on vector shape file

First mask, then crop. This is using terra package (although I think you shared the wrong raster). Also you can select the district and reproject easily: library(terra) r <- rast('~/Downloads/Land%...
user avatar
  • 12.1k

Top 50 recent answers are included