I know GeoServer is different from OpenLayers, but what I am questioning is how big is that impact on rendering data. I have a development environment on my machine consisting of Apache Tomcat and GeoServer. This same machine is running the Browser that accesses OL code.
The vector data is hosted on a Oracle server on a different machine. I find weird that Geoserver, running on my machine, can retrieve the vector data from Oracle Server, render an image and deliver it to the browser, while the browser itself, can't take the XML and render an image. And it is not a performance issue. It simply consumes all my physical memory (that is something like 4.5+ gb) and FF crashes, without any warning or error logging from OL. I know that rendering and delivering an image is a lot simpler than building nested divs and image tags, parsing XML, etc. Even more if you compare Java to Javascript. But is it really "4gb+ simple"? That is what I find weird. I didn't have time to check the rendering code yet, because I am currently working on a project that will serve only WMS images. But I was a bit disappointed when I tried using WFS to show the same data. I thought it would take a lot to load, but in fact it simply crashed the browser over and over. Cheers, Pedro. On Mon, Nov 16, 2009 at 10:25 PM, Zac Spitzer <[email protected]> wrote: > there is a huge different between a server rendering an image and > a browser rendering a vector layer > > a browser can only handle a limited volume of vector data > > z > > On Tue, Nov 17, 2009 at 6:05 AM, Pedro Baracho <[email protected]>wrote: > >> Cluster strategy didn't help me, because I need the lines to be rendered. >> >> Right now I am using MaxResolution to crop the whole Layer if the level of >> detail is small (i.e. low zoom level). >> The weird thing is that GeoServer can serve me the image in real time of >> the same layer and OL crashes the browser for lack of memory, and both (the >> browser and the GeoServer) are hosted and running on my development machine. >> I know OL is javascript, but even though, there shouldn't be such a huge >> impact on memory. >> >> Have you guys seen this before? >> >> And thanks a lot for the help! >> >> >> On Mon, Nov 16, 2009 at 11:30 AM, Eric Lemoine < >> [email protected]> wrote: >> >>> On Mon, Nov 16, 2009 at 1:10 PM, Pedro Baracho <[email protected]> >>> wrote: >>> > 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? >>> >>> From the top of my head I remember that you can use the cluster >>> strategy with other types of geometries than points. However clusters >>> are always represented as points. >>> >>> 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 : [email protected] >>> http://www.camptocamp.com >>> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> >> > > > -- > Zac Spitzer > Solution Architect / Director > Ennoble Consultancy Australia > http://www.ennoble.com.au > http://zacster.blogspot.com > +61 405 847 168 > > > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
