Skip to main content

All Questions

Tagged with
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-...
Robbi Bishop-Taylor's user avatar
1 vote
0 answers
222 views

Mosaicking raster tiles with different color palettes

I want to create a mosaic of 35 rasters using gdal. Using gdalwarp --config GDAL_CACHEMAX 8000 -wm 8000 *.tif abk.tif I get a fairly small output file. But I've noticed that some colours are off. It ...
maaattes's user avatar
  • 157
2 votes
1 answer
6k views

gdalwarp resampling method

I'm trying to mosaic some georeferenced images using gdalwarp. But if I change the resampling method the result is always the same, why? I need to build a mosaic where the value of each pixel is the ...
Giulio's user avatar
  • 141
0 votes
1 answer
2k views

Using gdalwarp to merge bands into a mosaic created by gdal_merge?

I have created a mosaic with gdal_merge.py using the following command: gdal_merge.py -createonly -separate -co PHOTOMETRIC=RGB -o merged.tif LE07_L1TP_046030_20180810_20180810_01_RT_b3.tif ...
jonesy19's user avatar
  • 107
1 vote
1 answer
388 views

gdalwarp's minimum resampling has no effect (possible bug)?

I'm attempting to use the minimum operator with gdalwarp v2.1.0 but it always mosaics as if I had selected nearest neighbor. From the docs: -r resampling_method: min: minimum resampling, selects ...
mikewatt's user avatar
  • 5,103
3 votes
0 answers
683 views

How to do color correction when mosaicing and clipping with gdalwarp

I'm mosaicing a number of GeoTiffs with gdalwarp and clipping to a geojson area of interest using the following command: gdalwarp -of GTiff -cutline <PATH_TO_GEOJSON> -crop_to_cutline -...
hume's user avatar
  • 159
3 votes
1 answer
829 views

How to blend edges of aerial imagery with gdalwarp

I need to fade/blend the edges of a series of aerial images with gdal. The closest thing that I've been able to accomplish is using the -cutline and -cblend switches of gdalwarp to get the edges to ...
Steven Lutz's user avatar