Questions tagged [gdal-merge]
A utility used to merge small image tiles to create a bigger image
158
questions
1
vote
0
answers
55
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
32
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
97
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
51
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
38
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 ...
0
votes
0
answers
292
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
155
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
716
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
162
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
41
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
210
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 ...
1
vote
1
answer
732
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
129
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/...
2
votes
0
answers
528
views
for loop for merging multiple *.gpkg files in OSGeo4W Shell
I´d like to merge multiple files (geopackages) saved in a Windows folder
to one *.gpkg using OSGeo4W Shell:
for %f in (\*.gpkg) do (ogr2ogr 'gpkg' -update -append merged.gpkg %f -nln merged.gpkg)
...
3
votes
1
answer
308
views
GDAL merge within a QGIS model designer
I am attempting to include GDAL's merge but having difficulty with the "Additional creation options" field. I would like to include both COMPRESS=LZW and TILED=YES however I cannot seem to ...