<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#0000bf;"><div>Hi list,<br><br>I have a wfs and want to publish my data via a FeatureStore. <br>If I load it with:<br>fields: [{name: .....}],<br>proxy: new GeoExt.data.ProtocolProxy({<br> protocol: new OpenLayers.Protocol.WFS({<br> url:<br> ...<br> })<br>})<br>there is a long loading time because of high number of features.<br> <br>If I want to use <br>layers: wfsLayer <br>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.<br>My wfs layer is:<br>wfsLayer = new OpenLayers.Layer.Vector("mywfs",<br> {styleMap: wfsStyle,<br>
displayInLayerSwitcher: false,<br> strategies: [new OpenLayers.Strategy.BBOX()],<br> protocol: new OpenLayers.Protocol.WFS({<br> featureNS: "myNS",<br> featureType: "mylayer",<br> version: "1.1.0",<br> ...<br> })<br> });<br>I included a proxy script which is working.<br>I searched and found that I have to add ext-override-ajax.js to my GeoExt build but that did not help.<br><br>What I`m doing wrong?<br>Any hints to get better performance for displaying data?<br><br>Thanks<br>best regards<br>Sarah<br></div>
</div></body></html>