Thank you Thomas, Sorry I didn't make it clear that I'm using the shapefile as data source. I tried as you suggested but it's not working.
The document about DATA of the layer in mapfile is: DATA [filename]|[sde parameters][postgis table/column][oracle table/column]. So I think it's not supported in MapServe to filter columns of the shapefile... Maybe I need to write some code. I don't know. Do you have any suggestion where to start or there is another solution? Thanks again. Yuduo ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users