[Mapserver-users] Logical expression is not working
Eduardo Patto Kanegae
eduardo at consultoria.eti.br
Wed Jun 16 09:42:10 PDT 2004
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I tried:<br>
<br>
- EXPRESSION "('[TIP_CODIGO]' eq '10' AND [FLAGS] > 0)"<br>
<br>
- EXPRESSION "'[TIP_CODIGO]' eq '10' AND [FLAGS] > 0"<br>
<br>
- EXPRESSION "('[TIP_CODIGO]' eq '10' AND '[FLAGS]' > '0')"<br>
<br>
- EXPRESSION "'[TIP_CODIGO]' eq '10' AND '[FLAGS]' > '0'"<br>
<br>
- EXPRESSION "('[TIP_CODIGO]' eq '10')"<br>
<br>
- EXPRESSION "'[TIP_CODIGO]' eq '10'"<br>
<br>
- EXPRESSION "('[FLAGS]' > '0')"<br>
<br>
- EXPRESSION "'[FLAGS]' > '0'"<br>
<br>
- EXPRESSION "([FLAGS] > 0)"<br>
<br>
- EXPRESSION "[FLAGS] > 0"<br>
<br>
but none of these works.<br>
<br>
sounds like logical expression is not working.<br>
<br>
I also made the same tests at my server which is a:<br>
MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE<br>
<br>
but no results.<br>
<br>
any idea?<br>
<br>
best.<br>
<br>
Eduardo<br>
<br>
<br>
<br>
Tyler Mitchell escreveu:
<blockquote
cite="midOF7F65E08A.724AB10F-ON88256EB5.0058D50F-88256EB5.0058E6D3 at Riverside.bc.ca"
type="cite">
<pre wrap="">I found this earlier answer to be very helpful:
<a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0405/msg00714.html">http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0405/msg00714.html</a>
It talks about postgis and shapefiles but also applies to other formats.
Hope that helps.
Tyler
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-admin at lists.gis.umn.edu">mapserver-users-admin at lists.gis.umn.edu</a> wrote on 06/16/2004 12:07:45 PM:
</pre>
<blockquote type="cite">
<pre wrap="">I'm trying to display a point shapefile layer using logical
expressions to classify the layer according to two field values but
it's not working.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Eduardo Patto Kanegae
<a class="moz-txt-link-freetext" href="http://www.consultoria.eti.br">http://www.consultoria.eti.br</a>
UIN: 303747254
Treinamento em UMN MapServer - <a class="moz-txt-link-freetext" href="http://www.consultoria.eti.br/ptbr/?menuoption=mapserver">http://www.consultoria.eti.br/ptbr/?menuoption=mapserver</a>
I Encontro Nacional de Usuários MapServer - <a class="moz-txt-link-freetext" href="http://mapserver.cttmar.univali.br/encontro2004">http://mapserver.cttmar.univali.br/encontro2004</a>
Fórum MapServer Brasil - <a class="moz-txt-link-freetext" href="http://mapserver.cttmar.univali.br/forum">http://mapserver.cttmar.univali.br/forum</a>
***Fim da Mensagem / End of Message ***
</pre>
</body>
</html>
More information about the MapServer-users
mailing list