Questions tagged [gdal-merge]
A utility used to merge small image tiles to create a bigger image
160 questions
2 votes
0 answers
71 views
QGIS - Memory Error when merging large raster file
I want to merge 2 large raster files (7GB+8GB) I got error messages, with a final Unable to allocate 14.2 GiB for an array with shape (53701, 35412) and data type int64 I already manage to generate ...
1 vote
0 answers
81 views
Not part of CF standard, will not be supported by CF Error message
I am trying to use the merge function in QGIS on 6 aerial rasters. When I try to merge them I get an error. Is there a workaround to this? I would like to merge the 6 singular raster files to just one ...
1 vote
0 answers
187 views
Creating Orthomosaic with GDAL
Platform: Windows 11 1. Aim trying to achieve: I have some very high quality multispectral data (drone multispectral imagery), from which I am trying to create an orthomosaic. My multispectral data ...
1 vote
1 answer
119 views
Gdalwarp assigning zero values outside input raster extents
I'm attempting to combine several GeoTIFF files into a single mosaic raster using gdalwarp: import os os.environ['AWS_NO_SIGN_REQUEST'] = 'YES' file1 = "https://dea-public-data-dev.s3-ap-...
0 votes
0 answers
321 views
How to merge several Sentinel-2 images using the median for the overlapping areas?
I'm having a little bit of trouble coming with the best way to do this. I have several rasters that contain each 12 Sentinel-2 bands, not all from the same tile that I want to do some preprocessing ...
1 vote
0 answers
169 views
Setting the nodata value
I have three Sentinel 2 rasters for band 4 (named tile1_B04, tile2_B04, tile3_B04) and my area of interest is clipped by merging these 3 rasters. 2 out of 3 rasters have 0 pixels in certain portions. ...
0 votes
0 answers
70 views
Result of merge in QGIS is image that doesn't contains all the merged raster
I'm trying to merge ~10 rasters that I have on qgis. Each raster has 2 bands.The rasters overlap each other, and their no-data value is -9999. This is how all the rasters look like before merging (the ...
1 vote
0 answers
457 views
Merging overlapping rasters - retaining maximum value using gdal
I have multiple overlapping tiffs(having 3 bands) which i want to merge using gdal/pyqgis but want to retain the maximum pixel values for the overlapping part. I tried using gdal_merge.py but it only ...
1 vote
1 answer
281 views
QGIS 3 greyscale on TIFF after merge raster is all washed out
I am merging 3 separate raster DEM's in BIL format. The result of the merge is a black field with a very washed out TIFF. The data is valid because I can probe it with the Identify tool and see the ...
4 votes
2 answers
1k views
Merging multiple GeoTIFF's with gdal_merge creates a solid gray GeoTIFF
I have these two GeoTIFF's: https://terrafrost.com/gdal/1.tif https://terrafrost.com/gdal/2.tif I'm trying to merge them by doing gdal_merge -o result.tif 1-dark.tif 2-dark.tif but when I do the ...
0 votes
0 answers
258 views
gdal_translate from .vrt doesn't reproject tiles, but .vrt has right projection
Translation of a big .vrt (tiles are .bil in EPSG:4326, .vrt has ESRI:102027) file results in a wrong raster with EPSG:4326 projection. Command here is gdal_translate -of GTiff -ot Float32 $INPATH/...
0 votes
0 answers
54 views
How to stack/merge geom_stars items/plots in one - in R
If I have plotted the Relative Error Maps for the Silt soil attribute for the following 4 different soil types: Cambisols, calcisols, leptosols and fluvisols that form my study case area: ggplot() + ...
0 votes
0 answers
345 views
ERROR 1: Attempt to create 5259x-3397 dataset is illegal,sizes must be larger than zero
I am attempting to merge two .tiff files using gdal_merge.py (GDAL 3.4.3, released 2022/04/22), but I'm getting the following error: ERROR 1: Attempt to create 5259x-3397 dataset is illegal,sizes ...
2 votes
1 answer
1k views
Merging two overlapping NetCDF files
I'm not an expert on this kind of stuff. Basically I'd like to merge two .nc files, one from GOES-R G16 and the other from GOES-R G17. The files contain the same variables and refer to the same time; ...
0 votes
1 answer
162 views
Unable to merge TIFFs in one file using Warp and QGIS
I have three TIFFs are below which is belongs to Alaska HI Chart: First https://drive.google.com/file/d/1KllacOdKNw866doqjMcounsvofpXBgFh/view?usp=sharing Second https://drive.google.com/file/d/...