[OpenLayers-Users] Huge amount of data crashing browser

Pedro Baracho pedropbaracho at gmail.com
Mon Nov 16 07:10:56 EST 2009


My data can be displayed via WMS. It represents the streets of my city and
is composed by a huge number of center lines.

I am currently using BBOX strategy and it is insufficient.
I am going to check cluster strategy. Do you know how can I use it to
display lines instead of points?


On Mon, Nov 16, 2009 at 3:51 AM, Eric Lemoine
<eric.lemoine at camptocamp.com>wrote:

> On Thursday, November 12, 2009, Pedro Baracho <pedropbaracho at gmail.com>
> wrote:
> > Hello all,
> >
> > I have huge amount of data being retrieved on a Vector Layer and it is
> crashing the browser (lack of memory) when it tries rendering it.
> >
> > I am thinking of using MinResolution, MinExtent and doing some search on
> current strategies to crop the data, or show the layer only in a determinate
> level of zoom.
> >
> > Any suggestions?
>
> you may be interested to look at the BBOX and Cluster strategies. The
> former fetches only the data that is contained by the current map
> extent. The latter clusters together features that are close to each
> other. The two strategies can be used together.
>
> cheers,
>
> --
> Eric Lemoine
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine at camptocamp.com
> http://www.camptocamp.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091116/c746c41b/attachment.html


More information about the Users mailing list