Hi Phil,<div><br></div><div>Thanks for the reply. I have declared the WFS like this,</div><div><br></div><div><div>var pimaWFS = new OpenLayers.Layer.Vector("Pima Pine", {</div><div><span class="Apple-tab-span" style="white-space:pre">                                 </span> strategies: [new OpenLayers.Strategy.BBOX()],</div>

<div><span class="Apple-tab-span" style="white-space:pre">                                      </span> protocol: new OpenLayers.Protocol.WFS({</div><div><span class="Apple-tab-span" style="white-space:pre">                                             </span> url: "<a href="http://128.196.142.12:8080/geoserver/wfs">http://128.196.142.12:8080/geoserver/wfs</a>",</div>

<div><span class="Apple-tab-span" style="white-space:pre">                                              </span> featureType: "PimaPine",</div><div><span class="Apple-tab-span" style="white-space:pre">                                          </span> featureNS: "<a href="http://opengeo.org">http://opengeo.org</a>",</div>

<div><span class="Apple-tab-span" style="white-space:pre">                                              </span> srsName: "EPSG:4326"</div><div><span class="Apple-tab-span" style="white-space:pre">                                      </span> })</div><div><span class="Apple-tab-span" style="white-space:pre">                          </span> });</div>

<div><br></div><div>But still I have no luck despite specifying the srsName.</div><div><br></div><div>My Geoserver is 2.1 and seems to be the latest build. How can I check if it supports WFS 1.1.0 or not??</div><div><br>
</div>
<div>Thanks,</div><div>Smaran</div><br><div class="gmail_quote">On Thu, Sep 20, 2012 at 2:17 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unless you use OpenLayers.Protocol.WFS.v1_1_0 and specify the SRS of<br>
your map in the protocol constructor, then you will be fetching data in<br>
the native SRS which might not match the map. Does your server support<br>
WFS 1.1.0? If not then you will have to make sure you have proj4 def<br>
available on the client and project on the client.<br>
<br>
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>