[gdal-dev] gdalwarp Resampling Input Raster Nodata Setting

Andrew C Aitchison andrew at aitchison.me.uk
Sun Jun 26 20:44:10 PDT 2022


On Mon, 27 Jun 2022, Chao Li wrote:

> Dear GDAL experts,
>
> I have a problem using *gdalwarp*.
>
> I want to reproject a raster and change its resolution by the average
> method.
     ...       ...
> This is the *gdalinfo* of the raster
> Corner Coordinates:
> Upper Left  (-20015109.354, 7783653.638) (166d17' 5.25"W, 70d 0' 0.00"N)
> Lower Left  (-20015109.354,-6671703.118) (  0d 0' 0.00"E, 60d 0' 0.00"S)
> Upper Right (20015109.354, 7783653.638) (166d17' 5.25"E, 70d 0' 0.00"N)
> Lower Right (20015109.354,-6671703.118) (  0d 0' 0.00"W, 60d 0' 0.00"S)
> Center      (      -0.000,  555975.260) (  0d 0' 0.00"W,  5d 0' 0.00"N)

Is your input really a triangle ?

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew at aitchison.me.uk


More information about the gdal-dev mailing list