<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"><div>Hi Alexandre,<br><br>thank you.<br>That wfs BBOX thing worked. But not combining FeatureStore with this wfs. I need a proxy and read that I have to include including ext-override-ajax.js into GeoExt build file for GeoExt recognizing my OpenLayers proxy. But that did not work.What went wrong? <br>Why did including including ext-override-ajax.js not working? <br><br>Thanks!<br>best regards<br>Sarah<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Alexandre Dube &lt;adube@mapgears.com&gt;<br><b><span style="font-weight: bold;">An:</span></b> users@geoext.org<br><b><span
 style="font-weight: bold;">Gesendet:</span></b> Donnerstag, den 7. Juli 2011, 16:17:34 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> Re: [Users] FeatureStore - too many features<br></font><br>

  

    
  
    Hello Sarah,<br>
    <br>
    &nbsp; Yes, you could define a BBOX filter in your WFS protocol to fetch
    just a portion of the features you want.&nbsp; See an example of BBOX
    filtering : <br>
    &nbsp;&nbsp;&nbsp;
    <a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://dev.openlayers.org/releases/OpenLayers-2.10/examples/filter.html">http://dev.openlayers.org/releases/OpenLayers-2.10/examples/filter.html</a><br>
    <br>
    &nbsp; Regards,<br>
    <br>
    Alexandre<br>
    <br>
    <br>
    On 11-07-07 09:20 AM, Sarah Schuessler wrote:
    <blockquote type="cite">
      
      <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
        <div>Any hints on this?<br>
          Am I right to think that if I use BBOX with my wfs that my
          linked FeatureStore is only loading such number of features?<br>
          And why did including ext-override-ajax.js not work? <br>
          <br>
          Thanks!<br>
          best regards<br>
          Sarah<br>
        </div>
        <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>
          <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2">
              <hr size="1"><b><span style="font-weight: bold;"></span></b><br>
            </font><br>
            <div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: rgb(0, 0, 191);">
              <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>
                &nbsp;&nbsp;&nbsp; protocol: new OpenLayers.Protocol.WFS({<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; url:<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
                &nbsp;&nbsp;&nbsp; })<br>
                })<br>
                there is a long loading time because of high number of
                features.<br>
                &nbsp;<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>
                &nbsp;&nbsp;&nbsp; {styleMap: wfsStyle,<br>
                &nbsp;&nbsp;&nbsp;&nbsp; displayInLayerSwitcher: false,<br>
                &nbsp;&nbsp;&nbsp;&nbsp; strategies: [new OpenLayers.Strategy.BBOX()],<br>
                &nbsp;&nbsp;&nbsp;&nbsp; protocol: new OpenLayers.Protocol.WFS({<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; featureNS: "myNS",<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; featureType: "mylayer",<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; version: "1.1.0",<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; })<br>
                &nbsp;&nbsp;&nbsp; });<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>
          </div>
        </div>
      </div>
      <pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:Users@geoext.org" target="_blank" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature">-- <br>Alexandre Dubé<br>Mapgears<br><a rel="nofollow" class="moz-txt-link-abbreviated" target="_blank" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
  </div></div>
</div></body></html>