Questions tagged [stack]
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
11
questions
11
votes
3
answers
14k
views
How to stack bands in Google Earth Engine?
I have created an Image collection in GEE and with the help of a function I have computed NDVI index and mapped it to create another collection with NDVI as a band.
Now I want the create a stacked ...
23
votes
4
answers
30k
views
Layer stacking rasters in QGIS?
I have some multi-spectral data, where the individual bands are separate Raster files.
How do I layer stack these rasters so that I get one raster with 3 bands instead of 3 different rasters?
This ...
8
votes
1
answer
14k
views
R-4.0.1 Not sure I understand this message: Warning message: In proj4string(x) : CRS object has comment, which is lost in output [closed]
Context: I want to store the TIFF data to use it for running a linear regression model later on.
Ultimate goal: Create a carbon map using field data as a basis.
Libraries:
library(sp)
library(raster)
...
6
votes
1
answer
6k
views
Add bands' name and description to the Metadata when stacking using rasterio
I'm using this code, of @Loïc Dutrieux, to stack 8 Landsat bands.
with rasterio.open(final_list[0]) as src0:
meta = src0.meta
with rasterio.open('stack.tif', 'w', **meta) as dst:
for id, layer ...
6
votes
2
answers
14k
views
Handling multiple-extent-problem to create raster stack in R?
I am storing ~ 30 raster files in a folder and want to create a raster stack. I know that not all of these rasters have completely the same extent. They do have the same resolution and CRS.
Thus I ...
2
votes
1
answer
3k
views
Using GDAL/Python to stack georeferenced images of different sizes
I am in the process of porting a code I wrote in IDL (interactive data language) to Python but am running into a bit of a problem that I am hoping someone can help me with.
The code goes like this:
...
1
vote
2
answers
12k
views
Can ArcGIS Desktop stack layers?
I have 7 bands of Landsat and I would like to combine all layers into one layer.
Can ArcMap 10 do this like Erdas software can?
6
votes
1
answer
630
views
Stacking and masking Landsat at the same time with rasterio
Based on answers from previous questions 1,2 and the Masking a raster using a shapefile guide from rasterio cookbook, I wrote the code below.
The code runs correctly. I would like to improve it.
1- ...
6
votes
2
answers
8k
views
Mean by month on R stacked raster
I work with MODIS NDVI rasters in 2016. I have 23 rasters stacked in one object. I have 2 raster by month. I would like the average by months and conserve a raster for each month.
ndvi.stack <- ...
2
votes
1
answer
5k
views
Extracting values from raster stack and aggregating results using R
I'd like to extract values from a rasterstack, cell by cell, and create a list of the values:
ext <- extent(0,100,0,100)
r1 <- raster(nrows=100, ncols=100,ext)
r1[] <- sample(seq(from = 1, ...
1
vote
2
answers
3k
views
Looping a raster stack with a step, R
I have a large raster stack of about 500 rasterlayers.
What I want to do is to extract specific layers and store them in a different strack.
The layers for which I am interested in, have a step of 8 ...