Ok, it seems like i had to many vertices and with the ST_Simplify the problem is solved.
Thank you very much for your help!! Best regards! Manu On Thu, Jun 4, 2009 at 11:58 AM, Manuel Albela Miranda < [email protected]> wrote: > Hey!, > > 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. > > Will back to you with the results. > > Thank you again! > > Manu > > > On Thu, Jun 4, 2009 at 11:40 AM, <[email protected]> wrote: > >> It would help if you would provide us with the exact exception. >> >> Also, use Firefox with Firebug to narrow down the problem. >> >> Best regards, >> Bart >> >> > Hi everybody! >> > >> > I'm working on a GIS system with Openlayers, postgis and mapserver (all >> of >> > them are the last version as of today) runing on a Debian SID >> environment, >> > and i'm having problems when trying to load a wfs layer created with the >> > information of a postgis table. The thing is that when I try to add the >> > layer to the map in openlayers, the web browser (either firefox 3 or >> ie7) >> > gets an exception. The layer is a multipolygon one representing Uganda >> > with, >> > more or less, 70 polygons. The script gets stuck when adding the layer >> to >> > the map (map.AddLayer(mylayer);). I've been researching the whole >> process >> > and the bottle neck is not the database and neither the creation of the >> > wfs >> > layer, so it seems like it's the way i'm trying to add the layer to the >> > map. >> > >> > I don't know if anyone has or has had the same problem, >> > >> > Thank you very much in advance for your help. >> > >> > Manu. >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://openlayers.org/mailman/listinfo/users >> > >> >> >> >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
