Skip to main content

All Questions

Tagged with
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+...
Andrea's user avatar
  • 69
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 ...
Jakub Rusnák's user avatar
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 ...
terraCoder's user avatar
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 ...
GeoMonkey's user avatar
  • 1,367
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 ...
Arthur's user avatar
  • 2,302
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 ...
gaurav bhardwaj's user avatar
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? ...
Braden Roseborough's user avatar
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 ...
marco's user avatar
  • 1,147