[mapserver-commits] [MapServer/MapServer] 518dab: Raster classification: better take into account DA...

Even Rouault noreply at github.com
Wed Jun 9 04:40:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 518dab60977ec9ec7f2db65ab4000993dbcdf6d8
      https://github.com/MapServer/MapServer/commit/518dab60977ec9ec7f2db65ab4000993dbcdf6d8
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M mapdrawgdal.c
    M msautotest/gdal/class16_range.map
    M msautotest/gdal/class8_range.map
    M msautotest/gdal/expected/class16_range.png
    M msautotest/gdal/expected/class8_range.png

  Log Message:
  -----------
  Raster classification: better take into account DATARANGE (fixes #6287)

- In 8 bit mode, when there was a single STYLE with DATARANGE/COLORRANGE,
  it was used even for values outside of DATARANGE, which seems
  inappropriate
- In 16 bit mode, there was no check on the DATARANGE. So if several
  STYLE were defined in the CLASS, only the first one was taken into
  account.


  Commit: 1a9247cf8396e6a3b3ec613bbd0750e43182bd48
      https://github.com/MapServer/MapServer/commit/1a9247cf8396e6a3b3ec613bbd0750e43182bd48
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M mapdrawgdal.c
    M msautotest/gdal/class16_range.map
    M msautotest/gdal/class8_range.map
    M msautotest/gdal/expected/class16_range.png
    M msautotest/gdal/expected/class8_range.png

  Log Message:
  -----------
  Merge pull request #6346 from rouault/fix_6287

Raster classification: better take into account DATARANGE (fixes #6287)


Compare: https://github.com/MapServer/MapServer/compare/ab09e34a1c0d...1a9247cf8396


More information about the mapserver-commits mailing list