[mapserver-users] class, expressions
    Stepan Kafka 
    stepan.kafka at centrum.cz
       
    Mon Sep 23 04:12:58 PDT 2002
    
    
  
Try using uppercase characters in the expression:
EXPRESSION ([SIG_NBR] < 6)
Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
http://www.bnhelp.cz
  -----Puvodní zpráva-----
  Od: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu]za uivatele Gernot
Katzlberger
  Odesláno: 23. zárí 2002 11:57
  Komu: mapserver-users at lists.gis.umn.edu
  Predmet: [mapserver-users] class, expressions
  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/40b3b0da/attachment.htm>
    
    
More information about the MapServer-users
mailing list