[gdal-dev] No Data Value and Resampling during Warp (C++ API)

Even Rouault even.rouault at spatialys.com
Fri Feb 21 04:51:35 PST 2020


On vendredi 21 février 2020 12:10:50 CET Craig Delancy wrote:
> Hello, mailing list:
> 
> I am currently running into a problem when using ChunkAndWarp on my data
> sets. It seems that No Data regions are not excluded from the resampling
> algorithm,

You need to specify nodata in the padfSrcNoDataReal array, and potentially 
padfDstNoDataReal as well.
Or use the GDALWarp() function that will do most of the needed setups 
automatically.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list