[mapserver-users] class, expressions

Gernot Katzlberger knozi at gmx.at
Mon Sep 23 05:57:27 EDT 2002


Hi all,

I'm using Mapserver version 3.4 and have some problems with the expressions in the classes. 
In my ShapeFile the column is defined as integer, but mapsever doesn't recognize it as integer. When 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.

here is the part of my mapfile 

LAYER
  NAME hausnr_na
  DESCRIPTION "gekündigte Wohnungen"
  TYPE POINT
  STATUS ON
  CLASSITEM 'Sig_nbr'
  DATA nichtar4
      CLASS
        NAME "1"
        #EXPRESSION /1|2|3|4|5/     # works
        EXPRESSION ([sig_nbr] < 6)     #works not
  SIZE 8
 SYMBOL 2
  COLOR 255 250 250
END
END 

cheers,
gernot


..............................................................................:
Gernot Katzlberger

Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartographie und Geoinformation

Universitaetstr. 7, A-1010 Wien, AUSTRIA

Tel: (+43 1) 4277 48657
E-mail: katz at atlas.gis.univie.ac.at
www: http://www.gis.univie.ac.at/karto
:.............................................................................:
Atlas of Eastern and Southeastern Europe: 
               http://www.aos.ac.at
:.............................................................................:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020923/952f820a/attachment.html


More information about the mapserver-users mailing list