[OpenLayers-Users] Performance Issue with multiple layers

Eric Lemoine eric.c2c at gmail.com
Mon Aug 6 11:14:05 EDT 2007


On 8/6/07, Marc Desharnais <marc.desharnais at ec.gc.ca> wrote:
> Hi all,
>
> I don't know if it's normal, but my page using 7 layers is really slow.
> I have to mention that the layers are not all activated. Only 2 of them
> are shown of on the map.
>
> Initial loading takes up to 30 seconds. Zooming to a particular area :
> 10 seconds.
> And the CPU consumption of my workstation jumps up to 80% when loading
> times. Is this normal?
> Logically the workstation should not work really hard since it is
> querying some PNGs... Am I wrong?
>
> No server is on my workstation. The server and all the data used in the
> layers is on LAN.
>
> 6 layers are colored points and one is a shapefile converted to postgis.
>
> What is slowing down the process?

Hi Marc,

Seven layers is a lot of layers, and is probably what kills you here.
Can't you merge your layers to reduce the number of layers in
OpenLayers?

--
Eric



More information about the Users mailing list