[Mapserver-users] Classification on more than 1 classitem

Stepan Kafka stepan.kafka at centrum.cz
Mon Apr 5 01:58:02 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C41AE3.B878F650
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: 8bit

MessageYes, you can use all sorts of logical expressions in parenthesis.
eg.:

CLASS
  EXPRESSION ([CODE]=15 and '[CNTY]'='MyCounty')

In this case, you need not set CLASSITEM in LAYER definition (but if set, it
is not used).
(Be sure if the string expressions are quoted.)
See documentation for more....

Stepan Kafka

  -----Pùvodní zpráva-----
  Od: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]za u¾ivatele Delfos, Jacob
  Odesláno: 5. dubna 2004 4:00
  Komu: mapserver-users at lists.gis.umn.edu
  Pøedmìt: [Mapserver-users] Classification on more than 1 classitem


  Hi all,

  I know there have been questions about this before, but I could not
actually find a definitive answer. I need to perform a classification based
on a condition using two attributes. Is there a way to have two classitems?

  Regards,

  Jacob





  JACOB DELFOS
  SPATIAL INFORMATION ANALYST
  Maunsell Australia Pty Ltd
  629 Newcastle Street
  PO Box 81
  Leederville 6902
  Western Australia
  ABN 20 093 846 925

  Tel     + 61 8 9281 6185
  Fax    + 61 8 9281 6297
  jacob.delfos at maunsell.com





------=_NextPart_000_000F_01C41AE3.B878F650
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =
size=3D2>Yes,=20
you can use all sorts of logical expressions in parenthesis.=20
eg.:</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =

size=3D2>CLASS</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =
size=3D2>&nbsp;=20
EXPRESSION ([CODE]=3D15 and '[CNTY]'=3D'MyCounty')</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =
size=3D2>In=20
this case, you need not set CLASSITEM in LAYER definition (but if set, =
it is not=20
used).</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =
size=3D2>(Be=20
sure if the string expressions are&nbsp;quoted.)</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =
size=3D2>See=20
documentation for more....</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =
size=3D2>Stepan=20
Kafka</FONT></SPAN></DIV>
<DIV><SPAN class=3D247244705-05042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
  size=3D2>-----P=F9vodn=ED zpr=E1va-----<BR><B>Od:</B>=20
  mapserver-users-admin at lists.gis.umn.edu=20
  [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za u=BEivatele</B> =
Delfos,=20
  Jacob<BR><B>Odesl=E1no:</B> 5. dubna 2004 4:00<BR><B>Komu:</B>=20
  mapserver-users at lists.gis.umn.edu<BR><B>P=F8edm=ECt:</B> =
[Mapserver-users]=20
  Classification on more than 1 classitem<BR><BR></FONT></DIV><!-- =
Converted from text/plain format -->
  <P><FONT size=3D2>Hi all,<BR><BR>I know there have been questions =
about this=20
  before, but I could not actually find a definitive answer. I need to =
perform a=20
  classification based on a condition using two attributes. Is there a =
way to=20
  have two classitems?<BR><BR>Regards,<BR><BR>Jacob<BR><BR><FONT =
size=3D2></P>
  <P>&nbsp;</P></FONT><B><FONT color=3D#009500>
  <P>J</FONT><FONT color=3D#009500 size=3D1>ACOB </FONT><FONT=20
  color=3D#009500>D</FONT><FONT color=3D#009500 =
size=3D1>ELFOS<BR></FONT><FONT=20
  color=3D#009500>S</FONT><FONT color=3D#009500 size=3D1>PATIAL =
</FONT><FONT=20
  color=3D#009500>I</FONT><FONT color=3D#009500 size=3D1>NFORMATION =
</FONT><FONT=20
  color=3D#009500>A</FONT><FONT color=3D#009500 =
size=3D1>NALYST</FONT><FONT face=3DArial=20
  color=3D#0033cc size=3D2><BR></B></FONT><FONT face=3DArial =
size=3D2>Maunsell Australia=20
  Pty Ltd<BR>629 Newcastle Street<BR>PO Box 81<BR>Leederville =
6902<BR>Western=20
  Australia<BR>ABN 20 093 846 925<BR><BR>Tel &nbsp;&nbsp;&nbsp;&nbsp;+ =
61 8 9281=20
  6185<BR>Fax&nbsp;&nbsp;&nbsp; + 61 8 9281 6297<BR></FONT><U><FONT =
face=3DArial=20
  color=3D#009c21 size=3D2>jacob.delfos at maunsell.com</P>
  <P></U></FONT><FONT face=3DArial=20
color=3D#0000ff></FONT><BR><BR></FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000F_01C41AE3.B878F650--




More information about the mapserver-users mailing list