[Mapserver-users] Regular expression.
krung
krung at cad.go.th
Mon Feb 24 09:25:26 PST 2003
Hi all,
I have a problem about using regexp. My dbf shapefile has one column with number context. I would like to classify into range of number, e.g.
1000-1999, 10000-19999
How do I write this expression in map file?
CLASSITEM 'num_col'
CLASS
EXPRESSION /.../ <- 1,000 to 1,999
......
END
CLASS
EXPRESSION /.../ <- 10,000 to 19,999
....
END
I wouldn't like to use as:
EXPRESSION ([num_col] >=1000 and [num_col] <=1999)
......
because it is very slow in rendering the image.
Thanks in advance.
Krung
More information about the MapServer-users
mailing list