<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial>Hi</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>you can specify filters and expressions in your layers
definition so you can display different class depending of specific
values.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>please see the mapserver documentation on the
subject:</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial><A
href="http://mapserver.gis.umn.edu/docs/howto/msexpressions">http://mapserver.gis.umn.edu/docs/howto/msexpressions</A></FONT></DIV>
<DIV><FONT face=Arial>and since the server seems down, you can see the page via
google cache</FONT></DIV>
<DIV><FONT face=Arial><A
href="http://209.85.135.104/search?q=cache:noypLBtVHGYJ:mapserver.gis.umn.edu/docs/howto/msexpressions+mapserver+expression&hl=en&ct=clnk&cd=1&client=firefox-a">http://209.85.135.104/search?q=cache:noypLBtVHGYJ:mapserver.gis.umn.edu/docs/howto/msexpressions+mapserver+expression&hl=en&ct=clnk&cd=1&client=firefox-a</A></FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>regards</FONT></DIV>
<DIV><FONT face=Arial>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tekuganda@hotmail.com href="mailto:tekuganda@hotmail.com">Broun
Uganda</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, September 13, 2008 6:20
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Querying
database from mapfile expression</DIV>
<DIV><BR></DIV>
<DIV style="TEXT-ALIGN: left">I want to query the database and present data
with different colours, sizes and labels, i gues this is done in the
mapfile.<BR>For example in a table of <SPAN
style="FONT-STYLE: italic">junctions</SPAN> (points) have an attribute
'width'. So i want to say if width<=1.5 colour is 230 210 110, if
1.5>width<=5 colour 110 110 110 and width>5 colour 60 30 80. however
if there are no <SPAN style="FONT-STYLE: italic">junctions </SPAN>in any or
all brackets just dont give me error. <BR>For labels, Mouseover reveals the
actual value of that junction.<BR>Equally say for <SPAN
style="FONT-STYLE: italic">contours</SPAN> i want to give a colour gredation
i.e. read the lowest and highest elevation and present contours with different
colours ranging from highest to lowest as a smooth colour variation. <BR>Can i
do these in the mapfile specification and how?<BR><BR>Iam working with the
edit plugin only.<BR><BR>Thanks<BR></DIV><BR>Broun Uganda<BR><BR><BR>
<HR>
Get news, entertainment and everything you care about at Live.com. <A
href="http://www.live.com/getstarted.aspx " target=_new>Check it out!</A>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>