Hi,

WFS 1.0.0 does not support on-the-fly reprojection. You have to use WFS
1.1.0, which is e.g. supported by GeoServer. And you have to specify the
version on the protocol:

Pedro Baracho wrote:
> var layer = new OpenLayers.Layer.Vector("WFS", {
>                     strategies: [new OpenLayers.Strategy.BBOX(),
> saveStrategy],
>                     protocol: new OpenLayers.Protocol.WFS({
                            version: "1.1.0",
>                         url:  "http://localhost:8080/geoserver/wfs";,
>                         featureType: "Regional",
>                         featureNS: "http://prodabel1062.pbh:8080/avis";,
>                         geometryName: "GEOLOC",
>                         srsName: "EPSG:29193"
>                     }),
>                     projection: new OpenLayers.Projection("EPSG:29193")
>             });
>


Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to