ReclassifyRaster doesn't seems to work

Description

In the doc page of ReclassifyRaster is a sample which I simplied to only two values:

1 2 3 4 5 6 7 8 var arr = new[] { new {Low = nodataValue + 1, High = newMin, NewValue = newMin}, new {Low = newMax, High = max + 1, NewValue = newMax} }; var utils = new Utils(); retVal = utils.ReclassifyRaster(input, 1, output, arr.Select(i => i.Low).ToArray(), arr.Select(i => i.High).ToArray(), arr.Select(i => i.NewValue).ToArray(), "GTiff", null);

The first value changes (new minimum) are processed but the second/last one (new maximum) isn't.

Environment

None

Status

Assignee

Paul Meems

Reporter

Paul Meems

Labels

None

Fix versions

Affects versions

v4.9.4.2

Priority

High
Configure