[Users] FeatureStore - too many features
Sarah Schuessler
sarah_flip at yahoo.de
Thu Jul 7 15:20:38 CEST 2011
Any hints on this?
Am I right to think that if I use BBOX with my wfs that my linked FeatureStore
is only loading such number of features?
And why did including ext-override-ajax.js not work?
Thanks!
best regards
Sarah
________________________________
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/20110707/2fecb847/attachment.htm
More information about the Users
mailing list