Hi All, 

I was wondering if it is possible to have expressions within a class when
using sql server 2008.
I have tried the following with no success: 

LAYER
    NAME  "layer2"
    TYPE POLYGON
    *CLASSITEM "year"*
    CONNECTIONTYPE OGR
    CONNECTION  "MSSQL: .... " 
    DATA " SELECT geom FROM table1"
    CLASS
        *EXPRESSION "2002"*
        STYLE
            COLOR  232 232 232
        END
     END
END

This does not seem to work. When I use this the other layers in the document
break as well .
I need to have different styles for each different year. 
How can I accomplish this?

Thanks in advance,

Julia


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Class-Expression-tp4655365p4655365.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to