Hi list,<br>
<br>
I've searched the archives endlessly, and though there's been alot of posts on this I still can't seem to get the hang of it.<br>
<br>
I'm trying to index my shapefiles, as I've been told this will give it
a performance boost.&nbsp; All my data are all in one directory, and
they're roughly half a gig in size.&nbsp; It is operating rather slowly
at the moment, taking a few seconds to display all the layers.<br>
<br>
This is how I initially tried to use tile index on my data:<br>
&nbsp;&nbsp; ogrtindex *.shp tileindex.shp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # to index all my shapefiles<br>
in the map file, add below to every layer:<br>
&nbsp;&nbsp;&nbsp; TILEINDEX
&quot;tileindex.shp,0&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# and remove DATA tag<br>
<br>
This doesn't work!<br>
<br>
I've since read you have to group different types together into one
index file.&nbsp; i.e. all the POINTS in one, LINES in another
etc.&nbsp; So you would have say 4 tile index files, each corresponding
to each type.&nbsp; Then would I use these filenames, i.e. TILEINDEX
&quot;pointindex.shp&quot;.&nbsp; Is this the right way, anyway to
automated?&nbsp; And what are shptree used for?<br>
<br>
I tried to use <a href="http://imaptools.com">imaptools.com</a>'s shp2tile, but the library it depends on(shapelib) wouldn't compile.<br>
<br>
One last question.&nbsp; What's qix and should I use it?<br>
<br>
Thank you inadvance for your help.<br>
<br>
Regards,<br>
Xin<br>
<br>