[mapserver-users] Re: Mapfile multiple CLASSITEM's

Sumit Sharma sumit321 at hotmail.com
Mon Aug 9 05:02:33 PDT 2010


I use CLASSITEM for only one value, I think you can not use it for multiple
values. 
However for your problem you can easily solve it by using expression in
class and color value in style 
As for your example... 
 CLASS
      NAME "PIG"
      EXPRESSION ([ANIMAL] = 'PIG')
      STYLE
        ANGLE 360
        COLOR [ANIMALCOLOR]
        OUTLINECOLOR 0 0 0
        SIZE 10
        SYMBOL "YourPointSymbol"
        WIDTH 1
      END
    END
and so on you can make other classes for different "animals" 
Hope this will resolve your problem
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapfile-multiple-CLASSITEM-s-tp5388609p5388702.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list