Hi,
See :
http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#WhatisthemaximumnumberofCoordinatesFeaturesIcandrawwithaVectorlayer
So 3000 features is quite a lot. Here's a related thread with some
interesting solutions posted (search for 'indeed' to find the list of
proposed solutions) :
http://osgeo-org.1803224.n2.nabble.com/Re-WMSGetFeatureInfo-xy-mouse-coordinates-can-this-be-done-td6077238.html
Regards,
Alexandre
On 11-03-03 10:57 AM, Mustafa646 wrote:
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.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Alexandre Dubé
Mapgears
www.mapgears.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users