[mapserver-users] Layer rendering performance problem
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed May 11 09:11:49 PDT 2011
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/
More information about the MapServer-users
mailing list