Opened 20 years ago

Closed 14 years ago

#662 closed defect (duplicate)

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

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone:
Component: MapServer CGI Version: 4.3
Severity: normal Keywords: raster query classified
Cc:

Description (last modified by warmerdam)

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.

Change History (1)

comment:1 by warmerdam, 14 years ago

Description: modified (diff)
Keywords: raster query classified added
Resolution: duplicate
Status: newclosed

This was corrected for #1021, essentially a duplicate of this ticket.

Note: See TracTickets for help on using tickets.