Filter vs. seperate shapefiles

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Mar 27 14:59:02 PST 2006


Kevin,

It is faster to filter that data into separate files. There is little 
cost to have a few extra layers, but to filter the layer requires 
looking at every record for every request.

For performance always preprocess as much as you can.

-Steve

Kevin Flanders wrote:
> Is it better (ie. faster) to have several map layers reference the same 
> shapefile using FILTER statements to specify the shapes they reference, 
> or to create several different shapefiles.....one for each class (on/off 
> control is required for each layer, which is why we are not simply using 
> different CLASSES).
> 
> Kevin
> 
>  
> 



More information about the MapServer-users mailing list