On 11-05-11 12:53 PM, Stephen Woodbridge wrote:
look at the mapserver utilities:

shptree myshapefile

This creates a spatial index (*.qix) and you should create one for every
shapefile you are using.

On Linux this will do the trick:

find /path/data -name \*.shp -exec shptree {} \;

If the .qix file is missing on every draw mapserver must create one on
the fly in memory and the it throws it away.

Great point Steve, I always refer to this old page for those Windows and Unix commands when I am in a bind and need them run for all subfolders: http://www.mapserver.org/utilities/batch_utilities.html

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to