Map->Layer->Class Question

Curtis W. Ruck ruckc at YAHOO.COM
Thu Jul 6 23:52:21 EDT 2006


Alright I have a set of data that i want to apply two different styles to...

In one class i want to set the color and in an overlapping class i want to set the symbol... so i don't have to create Colors*Symbols number of classes.  

I.e. i want to list classes where expressions can overlap and fill in different parts of a style for a particular point

CLASS
    EXPRESSION ('[color]' eq 'red')
    STYLE
        COLOR 255 0 0
    END
END

CLASS
    EXPRESSION ('[symbol]' eq 'triangle')
    STYLE
        SYMBOL "triangle"
        SIZE 7
        WIDTH 1
    END
END

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060706/0df77aed/attachment.html


More information about the mapserver-users mailing list