[mapserver-users] Class Expression
juliap
japr94 at hotmail.com
Sun Mar 25 20:04:30 PDT 2012
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.
More information about the MapServer-users
mailing list