[gdal-dev] [gdal 3.12beta] isNaN or isNoData operator

Daniel Baston dbaston at gmail.com
Sat Oct 25 09:56:00 PDT 2025


GDAL registers its own isnan function with muparser (along with
isnodata and fmod).

What do you mean by "OR and AND are not correct" ?

Dan

On Sat, Oct 25, 2025 at 11:26 AM Momtchil Momtchev via gdal-dev <
gdal-dev at lists.osgeo.org> wrote:

> Alas, muparser NaN behaviour is not perfect. There is no isNaN support
> at all and OR and AND are not correct. I don't know what is his
> background - seems to be astro/space/aviation and definitely not Earth
> sciences. I wonder if the best solution wouldn't be to contribute this
> directly to muparser?
>
> On 24/10/2025 19:17, Even Rouault wrote:
> > Please file an enhancement ticket about that, especially if you've an
> > API in mind
> >
> > Le 24/10/2025 à 18:55, Momtchil Momtchev via gdal-dev a écrit :
> >> Hello,
> >>
> >> I think that you should probably add a way to process (and produce)
> >> NoData (NaN) values to the RasterBand algebra.
> >>
> --
> Momtchil Momtchev <momtchil at momtchev.com>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251025/c6c6f386/attachment.htm>


More information about the gdal-dev mailing list