Speeding up load time for huge SHP files
Dylan Beaudette
dylan.beaudette at GMAIL.COM
Fri Aug 17 18:21:52 PDT 2007
On Friday 17 August 2007 15:29, Mevima Winn wrote:
> I'm currently building a mapping application off C#, MapServer 4.10, and
> approximately 45 SHP files. Many of them are pretty fast to load,
> especially utilizing the MINSCALE/MAXSCALE function, but once I start
> zooming in to where US roads and tiny lakes start appearing, the app slows
> WAY down. Our theory here is that it's either trying to load the whole
> shapefile and then zooming in on one spot, or reloading the shapefile every
> time there is a new request.
>
> So does anybody have an idea what might be happening? The 350MB SHPfile
> tends to take 20 seconds or so to load, whereas the 2.5GB SHPfile can take
> several minutes. Is there a way around this load time, or a way to
> optimize it? We kind of need all of the data, at least at these particular
> zooms.
search the archives for a tool called 'shptree', and spatial index files
Dylan
>
> ____________
> Mevima Winn
> Wireless Applications Corp.
> 111 108th Ave. NE.
> Suite 160
> Bellevue, WA 98004
> *paulanne.winn at wacorp.net*
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.0/957 - Release Date: 8/16/2007
> 1:46 PM
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
More information about the MapServer-users
mailing list