Ticket #662 (new defect)

Opened 4 years ago

red/green/blue classification doesn't work with raster query

Reported by: warmerdam Assigned to: warmerdam
Priority: high Milestone:
Component: MapServer CGI Version: 4.3
Severity: normal Keywords:
Cc:

Description

Classifications like the following don't work properly with raster
classification since raster classification is currently using
msGetClass_Float() that only substitutes for [pixel]. 

  CLASS 
    NAME "Grid"
    EXPRESSION ([red] == 96 and [green] == 32 and [blue] == 32)
    COLOR 255 0 0
  END

Problem demonstrated by test rqtest_12() in msautotest/mspython/rqtest.py.