Ok, it seems like i had to many vertices and with the ST_Simplify the problem is solved.<br><br>Thank you very much for your help!!<br><br>Best regards!<br><br>Manu<br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 11:58 AM, Manuel Albela Miranda <span dir="ltr">&lt;<a href="mailto:manuel.albela@gmail.com">manuel.albela@gmail.com</a>&gt;</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;">Hey!,<br><br>Thank you very much for your rapid response. There is a memory exception produce by a loop in the Openlayers.js code (i have already used the firebug but is not always the same line where the error is produced) and, as Guillaume said, it could be easily produced by the number of vertices which, by the way, is very high. So i will try so use the ST_simplify function and see if it solves the problem.<br>

<br>Will back to you with the results.<br><br>Thank you again!<br><br>Manu<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 11:40 AM,  <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a>&gt;</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;">It would help if you would provide us with the exact exception.<br>
<br>
Also, use Firefox with Firebug to narrow down the problem.<br>
<br>
Best regards,<br>
Bart<br>
<div><div></div><div><br>
&gt; Hi everybody!<br>
&gt;<br>
&gt; I&#39;m working on a GIS system with Openlayers, postgis and mapserver (all of<br>
&gt; them are the last version as of today) runing on a Debian SID environment,<br>
&gt; and i&#39;m having problems when trying to load a wfs layer created with the<br>
&gt; information of a postgis table. The thing is that when I try to add the<br>
&gt; layer to the map in openlayers, the web browser (either firefox 3 or ie7)<br>
&gt; gets an exception. The layer is a multipolygon one representing Uganda<br>
&gt; with,<br>
&gt; more or less, 70 polygons. The script gets stuck when adding the layer to<br>
&gt; the map (map.AddLayer(mylayer);). I&#39;ve been researching the whole process<br>
&gt; and the bottle neck is not the database and neither the creation of the<br>
&gt; wfs<br>
&gt; layer, so it seems like it&#39;s the way i&#39;m trying to add the layer to the<br>
&gt; map.<br>
&gt;<br>
&gt; I don&#39;t know if anyone has or has had the same problem,<br>
&gt;<br>
&gt; Thank you very much in advance for your help.<br>
&gt;<br>
&gt; Manu.<br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>