I checked the threshold values contained within my dataset and found that
the ranges were not what I expected and I was outside of that range.
Everything works properly after tweaking the threshold values.  Thanks!

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Chad Clabaugh
Sent: Thursday, May 28, 2009 9:45 AM
To: [email protected]
Subject: [mapserver-users] expressions and threshold color

 

 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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to