[Mapserver-users] Classification on more than 1 classitem

Delfos, Jacob jacob.delfos at maunsell.com
Mon Apr 5 02:00:45 EDT 2004


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C41AD3.55F7A090
Content-Type: text/plain;
	charset="ISO-8859-2"
Content-Transfer-Encoding: quoted-printable

Thanks a lot for that
=20
Jacob

-----Original Message-----
From: Stepan Kafka [mailto:stepan.kafka at centrum.cz]=20
Sent: Monday, 5 April 2004 13:58
To: Delfos, Jacob; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Classification on more than 1 classitem


Yes, you can use all sorts of logical expressions in parenthesis. eg.:
=20
CLASS
  EXPRESSION ([CODE]=3D15 and '[CNTY]'=3D'MyCounty')
=20
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....
=20
Stepan Kafka
=20

-----P=F9vodn=ED zpr=E1va-----
Od: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]za u=BEivatele Delfos, =
Jacob
Odesl=E1no: 5. dubna 2004 4:00
Komu: mapserver-users at lists.gis.umn.edu
P=F8edm=ECt: [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



=20

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_001_01C41AD3.55F7A090
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>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-2">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D674535105-05042004><FONT face=3DArial =
color=3D#0000ff size=3D2>Thanks=20
a lot for that</FONT></SPAN></DIV>
<DIV><SPAN class=3D674535105-05042004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D674535105-05042004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Jacob</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Stepan Kafka=20
  [mailto:stepan.kafka at centrum.cz] <BR><B>Sent:</B> Monday, 5 April =
2004=20
  13:58<BR><B>To:</B> Delfos, Jacob;=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> RE: =
[Mapserver-users]=20
  Classification on more than 1 classitem<BR><BR></FONT></DIV>
  <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=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D247244705-05042004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>CLASS</FONT></SPAN></DIV>
  <DIV><SPAN class=3D247244705-05042004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>&nbsp; EXPRESSION ([CODE]=3D15 and=20
  '[CNTY]'=3D'MyCounty')</FONT></SPAN></DIV>
  <DIV><SPAN class=3D247244705-05042004><FONT face=3DArial =
color=3D#0000ff=20
  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=20
  not 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=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D247244705-05042004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Stepan Kafka</FONT></SPAN></DIV>
  <DIV><SPAN class=3D247244705-05042004><FONT face=3DArial =
color=3D#0000ff=20
  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=20
    a classification based on a condition using two attributes. Is =
there a way=20
    to have two classitems?<BR><BR>Regards,<BR><BR>Jacob<BR><BR><FONT=20
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=20
    face=3DArial color=3D#0033cc size=3D2><BR></B></FONT><FONT =
face=3DArial=20
    size=3D2>Maunsell Australia Pty Ltd<BR>629 Newcastle Street<BR>PO =
Box=20
    81<BR>Leederville 6902<BR>Western Australia<BR>ABN 20 093 846 =
925<BR><BR>Tel=20
    &nbsp;&nbsp;&nbsp;&nbsp;+ 61 8 9281 6185<BR>Fax&nbsp;&nbsp;&nbsp; + =
61 8=20
    9281 6297<BR></FONT><U><FONT face=3DArial color=3D#009c21=20
    size=3D2>jacob.delfos at maunsell.com</P>
    <P></U></FONT><FONT face=3DArial=20
  =
color=3D#0000ff></FONT><BR><BR></FONT></P></BLOCKQUOTE></BLOCKQUOTE></BO=
DY></HTML>

------_=_NextPart_001_01C41AD3.55F7A090--



More information about the mapserver-users mailing list