Hi Phil,

Thanks for the reply. I have declared the WFS like this,

var pimaWFS = new OpenLayers.Layer.Vector("Pima Pine", {
 strategies: [new OpenLayers.Strategy.BBOX()],
 protocol: new OpenLayers.Protocol.WFS({
 url: "http://128.196.142.12:8080/geoserver/wfs";,
 featureType: "PimaPine",
 featureNS: "http://opengeo.org";,
 srsName: "EPSG:4326"
 })
 });

But still I have no luck despite specifying the srsName.

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??

Thanks,
Smaran

On Thu, Sep 20, 2012 at 2:17 PM, Phil Scadden <[email protected]> wrote:

> Unless you use OpenLayers.Protocol.WFS.v1_1_0 and specify the SRS of
> your map in the protocol constructor, then you will be fetching data in
> the native SRS which might not match the map. Does your server support
> WFS 1.1.0? If not then you will have to make sure you have proj4 def
> available on the client and project on the client.
>
> 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.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Thanks & Regards
Smaran Harihar
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to