[Users] FeatureStore - too many features
Sarah Schuessler
sarah_flip at yahoo.de
Tue Jul 5 15:07:03 CEST 2011
Hi list,
I have a wfs and want to publish my data via a FeatureStore.
If I load it with:
fields: [{name: .....}],
proxy: new GeoExt.data.ProtocolProxy({
protocol: new OpenLayers.Protocol.WFS({
url:
...
})
})
there is a long loading time because of high number of features.
If I want to use
layers: wfsLayer
instead of protocol option (because I use BBOX filter for wfs reducing features
from 10000 to some hundred) I get an error that proxy is undefined.
My wfs layer is:
wfsLayer = new OpenLayers.Layer.Vector("mywfs",
{styleMap: wfsStyle,
displayInLayerSwitcher: false,
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
featureNS: "myNS",
featureType: "mylayer",
version: "1.1.0",
...
})
});
I included a proxy script which is working.
I searched and found that I have to add ext-override-ajax.js to my GeoExt build
but that did not help.
What I`m doing wrong?
Any hints to get better performance for displaying data?
Thanks
best regards
Sarah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110705/9649d5c9/attachment.htm
More information about the Users
mailing list