Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: v4.9.4.2
    • Fix Version/s: v4.9.5.0
    • Labels:
      None

      Description

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

      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.

        Attachments

          Activity

            People

            • Assignee:
              admin Paul Meems
              Reporter:
              admin Paul Meems
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: