<!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><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></BODY></HTML>