[Mapserver-users] Regular expression.
krung
krung@cad.go.th
Tue, 25 Feb 2003 00:25:26 +0700
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
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users