PPS: Looks like some experimentation is probably better than weeks of worrying 
:-). It looks like the input no data values are actually not included in the 
computation. But I'd still like to know how they are handled, if that's 
possible.

Laurentiu

On Mon, Jan 16, 2023, at 14:05, Laurențiu Nicola via gdal-dev wrote:
> PS:
> 
> On Mon, Jan 16, 2023, at 13:58, Laurențiu Nicola wrote:
>> 
>>  * the `-srcnodata` docs and `gdalwarpkernel.cpp` suggest that masked pixels 
>> are not included in the computation (unlike those of no data?)
> The remark in the brackets is wrong, of course, since the docs are 
> specifically about `-srcnodata` . But I'm still unsure how these are handled 
> in the code. I probably missed something, but I saw the checks 
> <https://github.com/OSGeo/gdal/blob/master/alg/gdalwarpkernel.cpp#L1225> for 
> a mask, but not no data.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to