<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    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 class="moz-txt-link-freetext" 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
      cite="mid:1310044838.92479.YahooMailRC@web26507.mail.ukl.yahoo.com"
      type="cite">
      <style type="text/css"><!-- DIV {margin:0px;} --></style>
      <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 wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" 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" cols="72">-- 
Alexandre Dub&eacute;
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
  </body>
</html>