Jelmer, If you search the archives, there has been a lot written about how to optimize your data. Ed McNierney has written many great posts on this.
My guess is that you are trying to load more data than you really need to. If you are drawing the full extent of your shapefile, (zoomed out), do you really need the fine detail in your data set. This is a case where a thin or more generalized version of your original data set would be useful. I MapServer, using minscale and maxscale, you can show the generalized or simplified version of your data in one layer when the person is zoomed out and then show a different, more detailed version of the data in a different layer when you are zoomed in. When setting up this more detailed layer, you will want to tile your data and use a tileindex. This way, you don't need to read your whole data set to just draw one small area of it. Of course, you will also want spatial indexes. David. -----Original Message----- From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of Jelmer Baas Sent: Monday, March 20, 2006 7:46 AM To: [email protected] Subject: Re: [UMN_MAPSERVER-USERS] Improving Performance... {Scanned} Siki Zoltan wrote: > Are you sure mapserver uses your index? > If you write > DATA someting.shp > in your map file qix index will not be used > You must delete the extension e.g > DATA something Yep, it used the index. I also tried it when it DIDN'T use the index, but then it took a few minutes to render the image :-) -- Jelmer
