Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 103160

stack in this context is intended for questions relating to the stacking of rasters, it is not intended for questions relating to a GIS software stack

8 votes
3 answers
14k views

Stack rasters with different origin, dimensions and resolution in R

. : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 names : r3 values : -0.4956901, 8.6887 (min, max) When I try to create a raster stack, I get the following error: predictors … <-stack(r1, r2, r3) Error in compareRaster(x) : different number or columns I tried to re-sample r1,r2 according to one raster, lets say r3 - but it did not work. …
Elena's user avatar
  • 83