Hi Fabrizio,<div><br></div><div>I'd had the same problem once with a huge multi-polygon. The solution for me was create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly. This way we can show the results and had some integrations with OpenLayers.WMSGeatFeatureInfo by click, and run-time configuration in MapServer to control the layers and classes. </div>

<div><br></div><div>Since the OL runs directly in the client browser the processing maybe varying from browser and the client machine performance. </div><div>It's happen because no matter how far is the zoom/scale the OL will read and threath all the vertices in the polygon. If you have an algorythm to reduce this number of vertices this still will be processed in the client and still run slow the same way to make this happen, unless you can threath in the server like an PostGIS query.</div>

<div>It's a little bit of hard code, but the performance is incredible fast.</div><div> <br></div><div>This link bellow helps to create my WMS server:</div><div><a href="http://augusttown.blogspot.com.br/2010/01/customize-wms-getfeatureinfo-response.html">http://augusttown.blogspot.com.br/2010/01/customize-wms-getfeatureinfo-response.html</a></div>

<div><br></div><div>My regards,</div><div><br></div><p style="font-family:Corbel,Arial,Helvetica,sans-serif;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:14px"></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">

</p><p style="font-family:Corbel,Arial,Helvetica,sans-serif;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:14px"><table style="width:400px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:12px;color:rgb(51,51,51)">

<tbody><tr><td><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:16px"><strong style="color:rgb(28,119,155)">Fernando Norte</strong></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">

Desenvolvedor SIGWeb</p><p style="margin-top:20px;margin-right:0px;margin-bottom:0px;margin-left:0px">tel.(31) 2533.9900</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">cel.(31) 9119.8814</p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">skype: fernandoglobalgeo</p></td><td><img src="http://globalgeo.com.br/assinaturas/logo.png" border="0" style="display:block;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"></td>

</tr></tbody></table></p><p style="color:rgb(51,51,51);font-size:12px;margin-top:20px;margin-right:0px;margin-bottom:0px;margin-left:0px">Endereço: Alameda do Ingá, 88, 6º andar, Vale do Sereno</p><p style="color:rgb(51,51,51);font-size:12px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">

Nova Lima/MG - Brasil - CEP: 34.000-000</p><p style="color:rgb(51,51,51);font-size:12px;margin-top:5px;margin-right:0px;margin-bottom:30px;margin-left:0px"><a href="http://www.globalgeo.com.br/" style="color:rgb(28,119,155);text-decoration:none;font-weight:bold" target="_blank">www.globalgeo.com.br</a></p>

<p style="color:rgb(51,51,51);font-size:9px">"O presente documento pode conter material confidencial ou seu sigilo é protegido por lei.<br>Quaisquer informações nele contida são destinadas exclusivamente ao(s) seu(s) destinatário(s)<br>

não devendo em nenhuma hipótese ser repassado a terceiros".</p><p></p><p></p><p></p><br>
<br><br><div class="gmail_quote">2012/11/18 Fabrizio Buratta <span dir="ltr"><<a href="mailto:extremoburo@gmail.com" target="_blank">extremoburo@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi all,<div><br></div><div>So I'm showing the boundaries of Italian regions using openlayers, I get the coords from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total : 53000 Points. </div>


<div><br></div><div>This is how I've implemented it:</div><div><br></div><div><a href="http://pastebin.com/r47TkmL8" target="_blank">http://pastebin.com/r47TkmL8</a><br></div><div><br></div><div>This is really slow on firefox / IE . Only chrome works well. What's the best way to get it working faster and smoothly ? </div>


<div><br></div><div>Of course one answer is to reduce the points but I'd like to know if it is normal such slowness in my case or I did something wrong coding. And would be nice for me to use the whole set of points.</div>


<div><br></div><div>Thanks in advance for your time</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br>Fab<br><br><a href="http://twitter.com/fabrizioburatta" target="_blank">http://twitter.com/fabrizioburatta</a><br>

<br><a href="http://www.linkedin.com/in/fburatta" target="_blank">http://www.linkedin.com/in/fburatta</a><br>
<br>
</div>
</font></span></blockquote></div><br>