AW: [mapserver-users] class, expressions
Oliver Wesp
wesp at gdv.com
Mon Sep 23 05:55:52 PDT 2002
Have you tried to change the field name to uppercase ([SIG_NBR]).
Usually all field names in dbf-files are uppercase.
greetings
Oliver
-----Ursprüngliche Nachricht-----
Von: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu] Im Auftrag von Gernot
Katzlberger
Gesendet: Montag, 23. September 2002 11:57
An: mapserver-users at lists.gis.umn.edu
Betreff: [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: <mailto:katz at atlas.gis.univie.ac.at>
katz at atlas.gis.univie.ac.at
www: <http://www.gis.univie.ac.at/karto>
http://www.gis.univie.ac.at/karto
:.......................................................................
......:
Atlas of Eastern and Southeastern Europe:
<http://www.aos.ac.at> http://www.aos.ac.at
:.......................................................................
......:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020923/9c8fec0f/attachment.htm>
More information about the MapServer-users
mailing list