python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to iterate crop raster in R using a moving window?
I want to crop a raster using a bbox or a known extent, i.e., 10 pixels in row and col.
Below you can see a reproducible example:
library(terra)
r <- terra::set.ext(rast(volcano), terra::ext(0, nro...
Hugo Machado Rodrigues
Votes: 0
Answers: 2
How to select a section of a raster in R using a search window?
I want to select a group of pixels from a raster.
The user should enter an n value for selecting the number of columns and rows (or window size).
A window would fetch the number of pixels defined.
...
Hugo Machado Rodrigues
Votes: 0
Answers: 1
How to properly load these adf files?
I am trying to use the LandScan population dataset, which comes as a series of .adf files. I thought that the largest file would be the one with the data, and this does seem to be the case, but when ...
Maxerature
Votes: 0
Answers: 1
Stacking 20 rasters with different extents in R
I have 20 rasters stored in a list called allrasters. They have different extents (see below). I want to stack them so first I use lapply to crop all list items to the raster with the smallest extent ...
BHope
Votes: 0
Answers: 1