Hi,
I recently discovered by trying likely things that I can use inf, -inf, and
nan in the reclassify algo.
Not being a programmer it wasn't obvious that these would be valid inputs.
I would like to document this.
https://github.com/qgis/QGIS-Documentation/pull/8653

>From my research it seems like these are inherent special values in the
floating point format in C++.
https://en.cppreference.com/w/cpp/language/types

The inf and -inf seem straightforward to use in the reclassify table as max
and min values and nan seems to work to set a range of values to nodata.

Are there any gotchas I'm missing or any other values that can be used and
should be documented?
Thanks
-Bas
-- 
___________________________
Sebastian "Bas* " Gutwein
*rhymes with Josh

Regenerative Design Group
1 Chevalier Ave
Greenfield, Ma 01301
Web: regenerativedesigngroup.com
(631) 241-1018

*Look close, think big, make change. *
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to