[Mapserver-users] Line/Polygon Rendering

Chip Hankley Chip.Hankley at rmtinc.com
Fri Aug 8 11:12:32 EDT 2003


You should be able to do this using different CLASSES:

LAYER
  NAME MyLakes
  TYPE Polygon
  STATUS DEFAULT
  DATA MyLakesShapefile
  CLASSITEM Depth
    CLASS
      NAME "Really Deep Lakes"
      EXPRESSION ([DEPTH] > 200)
      COLOR 0 0 255
      OUTLINECOLOR 125 125 125
    END  # CLASS

    CLASS
      NAME "Kind of Deep Lakes"
      EXPRESSION ([DEPTH] > 100 AND [DEPTH] <= 200)
      COLOR 0 0 150
      OUTLINECOLOR 125 125 125
    END  # CLASS
 
    CLASS
      NAME "Not so Deep Lakes"
      EXPRESSION ([DEPTH] <= 100)
      COLOR 0 0 50
      OUTLINECOLOR 125 125 125
    END  # CLASS 
END




Outgoing messages, along with any attachments, are scanned for viruses at RMT prior to sending.
------------------------------------------------------------------------------
NOTICE--This email may contain confidential and privileged information 
for the sole use of the intended recipient.  Any review or distribution
by others is strictly prohibited.  If you are not the intended recipient,
please contact the sender immediately and delete all copies.




More information about the mapserver-users mailing list