All Questions
8
questions
2
votes
1
answer
92
views
How to avoid gdalwarp converting to alpha band
I am running the following code in order to resample a single-band TIFF file, whose data are going from 0 to 100 with 255 being the nodata value
"gdalwarp -t_srs "+srs+" -tr "+pxsz+...
1
vote
1
answer
289
views
gdalwarp does not use lanczos resampling on image with alpha channel
I want to warp Geotiff image of shaded relief (RGBA) in projection EPSG:8353 to the projection EPSG:3857 to use it in Mapnik web tiled map. I want to use lanczos resampling, but the result image looks ...
1
vote
0
answers
1k
views
Python GDAL resampling incorrectly: masking actual data points
I am trying to resample GeoTIFF image from 460 m resolution to 500 m using the Python gdal library. But somehow GDAL is not resampling correctly. It is also resampling noData values, so resulting ...
2
votes
0
answers
102
views
Does gdalwarp resample when calculating geoid correction?
I wanted to perform a geoid offset correction to a DEM and saw this really useful post: Vertical Datum conversion of a raster with gdal
I noticed that although they use gdalwarp, they do not specify ...
1
vote
1
answer
1k
views
gdalwarp ignoring multiple srcnodata values?
I'm trying to resample an in image in the MODIS sinusoidal projection. There are several fill/ NoData values that I want to exclude in the resampling. The data are unsigned 16-bit integer values. A ...
1
vote
1
answer
268
views
Resampling two raster files
I have two rasters, one for road network and another one for the DEM of the country.
I have to overlay the road network raster on top of DEM raster so as to get the elevation of roads. But my rasters ...
4
votes
0
answers
1k
views
Using max as resampling method with gdal_translate?
My Issue
According to the docs it appears that gdalwarp has many more resampling methods than gdal_translate. Can anybody explain why the resampling methods can't be used with both functions? ...
1
vote
0
answers
396
views
gdalwarp won't run with "cubic" resampling method [closed]
I am having an issue with running the gdalwarp command from command prompt.
Basically I have a raster WGS84 file, which I would like to reproject to spatial reference which is using the Azimuthal ...