[OpenLayers-Users] Why WFS Layer is displaying very slowely over Google Map.

Mustafa646 noorcs22 at gmail.com
Thu Mar 3 10:57:23 EST 2011


I am trying to display WFS Layer over Google map. At client side i use the
code below to request WFS layer from Geoserver. The layer displayed on
google map, but it takes so much time (3 to 4 minutes) to display wfs layer
(all features) 

The "buildings" layer has more than 3000 features, I guess, thats why it
take so much time.
is it possible to solve this problem ?
  
wfs = new OpenLayers.Layer.Vector("buildings2", { 
                strategies: [new OpenLayers.Strategy.BBOX()], 
                protocol: new OpenLayers.Protocol.WFS({ 
                    url: "http://localhost:8080/geoserver/wfs", 
                    featureType: "buildings", 
                    featureNS: "http://www.openplans.org/topp", 
                    srsName: "EPSG:900913", 
                    version: "1.1.0", 
                    isBaseLayer: false, 
                    visibility:true 
                }) 
            });

OR, any suggestion to overcome this problem ?

Regards/


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Why-WFS-Layer-is-displaying-very-slowely-over-Google-Map-tp6085290p6085290.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list