Hello,

 

I'm attempting to color layers by their threshold values.  When I use the
following mapfile it is only coloring two layers instead of three.  Also the
layer its coloring changes based on the value in the expression but the
areas of each layer never change.  Am I going about this correctly?

 

  LAYER

    NAME Coverage

    TYPE POLYGON

    STATUS DEFAULT

    DATA ftwtest

 

    PROJECTION

      "init=epsg:4326"

    END

 

    CLASSGROUP "Coverage group"

      CLASS

        EXPRESSION ([THRESHOLD] >= -68)

        STYLE

COLOR 255 0 0

        END

      END

      CLASS

        EXPRESSION ([THRESHOLD] >= -73)

        STYLE

COLOR 0 255 0

        END

      END

      CLASS

        EXPRESSION ([THRESHOLD] >= -100)

        STYLE

COLOR 0 0 255

        END

      END

 

Thank you.

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to