<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=741080311-23092002><FONT face=Arial color=#0000ff size=2>Try
using uppercase characters in the expression:</FONT></SPAN></DIV>
<DIV><SPAN class=741080311-23092002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=741080311-23092002><FONT face=Arial size=2>EXPRESSION
([SIG_NBR] < 6)</FONT></SPAN></DIV>
<DIV><SPAN class=741080311-23092002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=741080311-23092002>
<P><FONT size=2><SPAN class=741080311-23092002>Stepan
Kafka<BR></SPAN></FONT><FONT size=2>Help Service Remote Sensing<BR>tel:
+420-327514118<BR></FONT><A href="mailto:kafka@email.cz" target=_blank><FONT
size=2>mailto:kafka@email.cz</FONT></A><BR><A href="http://www.bnhelp.cz/"
target=_blank><FONT size=2>http://www.bnhelp.cz</FONT></A><FONT size=2>
</FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader><FONT size=2>-----Původní
zpráva-----<BR><B>Od:</B> owner-mapserver-users@lists.gis.umn.edu
[mailto:owner-mapserver-users@lists.gis.umn.edu]<B>za uivatele</B> Gernot
Katzlberger<BR><B>Odesláno:</B> 23. září 2002 11:57<BR><B>Komu:</B>
mapserver-users@lists.gis.umn.edu<BR><B>Předmět:</B> [mapserver-users] class,
expressions<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm using Mapserver version 3.4 and have some
problems with the expressions in the classes. </FONT></DIV>
<DIV><FONT face=Arial size=2>In my ShapeFile the column is defined as integer,
but mapsever doesn't recognize it as integer. W</FONT><FONT face=Arial
size=2>hen I switch to EXPRESSION 1/2/3/4/5/ it works. (it seems that
mapserver only recoginzes the column as strings). Unfortunately I need the
integer values.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>here is the part of my mapfile </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>LAYER<BR> NAME hausnr_na<BR>
DESCRIPTION "gekündigte Wohnungen"<BR> TYPE POINT<BR> STATUS
ON<BR> CLASSITEM 'Sig_nbr'<BR> DATA
nichtar4<BR>
CLASS<BR> NAME
"1"<BR> #EXPRESSION /1|2|3|4|5/
# works<BR>
EXPRESSION ([sig_nbr] < 6) #works
not<BR> SIZE 8<BR> SYMBOL 2<BR> COLOR 255 250
250<BR>END</FONT></DIV>
<DIV><FONT face=Arial size=2>END </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>gernot</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=1>..............................................................................:<BR>Gernot
Katzlberger</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT face=Arial size=1>Institut fuer Geographie und
Regionalforschung<BR>Universitaet Wien<BR>Kartographie und
Geoinformation</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT face=Arial size=1>Universitaetstr. 7, A-1010 Wien,
AUSTRIA</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=1>Tel: (+43 1) 4277 48657<BR>E-mail:
</FONT><A href="mailto:katz@atlas.gis.univie.ac.at"><FONT
size=1>katz@atlas.gis.univie.ac.at</FONT></A><BR><FONT size=1>www: </FONT><A
href="http://www.gis.univie.ac.at/karto"><FONT
size=1>http://www.gis.univie.ac.at/karto</FONT></A><BR><FONT
size=1>:.............................................................................:<BR>Atlas
of Eastern and Southeastern Europe:
<BR>
</FONT><A href="http://www.aos.ac.at"><FONT
size=1>http://www.aos.ac.at</FONT></A><BR><FONT
size=1>:.............................................................................:</FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>