My data can be displayed via WMS. It represents the streets of my city and is composed by a huge number of center lines.<br><br>I am currently using BBOX strategy and it is insufficient.<br>I am going to check cluster strategy. Do you know how can I use it to display lines instead of points?<br>
<br><br><div class="gmail_quote">On Mon, Nov 16, 2009 at 3:51 AM, Eric Lemoine <span dir="ltr"><<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Thursday, November 12, 2009, Pedro Baracho <<a href="mailto:pedropbaracho@gmail.com">pedropbaracho@gmail.com</a>> wrote:<br>
> Hello all,<br>
><br>
> 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.<br>
><br>
> 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.<br>
><br>
> Any suggestions?<br>
<br>
</div></div>you may be interested to look at the BBOX and Cluster strategies. The<br>
former fetches only the data that is contained by the current map<br>
extent. The latter clusters together features that are close to each<br>
other. The two strategies can be used together.<br>
<br>
cheers,<br>
<br>
--<br>
Eric Lemoine<br>
<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
<br>
Tel : 00 33 4 79 44 44 96<br>
Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
</blockquote></div><br>