Thanks for the reply.<br><br>I changed to 1.1.0, but I am still having problems with projections.<br><br>The BBOX filter of the request is being built with weird numbers on it:<br><br><ogc:BBOX><ogc:PropertyName>GEOLOC</ogc:PropertyName><gml:Envelope xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" srsName="EPSG:29193"><gml:lowerCorner>-4987936.2379319 -2307634.0730985</gml:lowerCorner><gml:upperCorner>-4797149.4153663 -2213769.4023813</gml:upperCorner></gml:Envelope></ogc:BBOX><br>
<br>Those numbers don't make any sense in EPSG:29193 (<a href="http://spatialreference.org/ref/epsg/29193/">http://spatialreference.org/ref/epsg/29193/</a>)<br>The bounds should be limited to: 166020.2387, 7087605.5418, 833979.7613, 10000000.0000, and I am seeing some negative numbers.<br>
<br>I also changed the displayProjection on the map to EPSG:29193 and those weird numbers are confirmed by OpenLayers.Control.MousePosition.<br><br>My guess is that there is some problem with the reprojection routine from 900913 to 29193. I am also guessing this may be because 29193 is limited to a region of the globe while 900913 is a world-wide projection. Does it make sense? I don't know much about cartography and projections and I didn't dig in OpenLayers code yet.<br>
<br>Do you have any other hint for me?<br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 6:40 PM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
WFS 1.0.0 does not support on-the-fly reprojection. You have to use WFS<br>
1.1.0, which is e.g. supported by GeoServer. And you have to specify the<br>
version on the protocol:<br>
<div class="im"><br>
Pedro Baracho wrote:<br>
> var layer = new OpenLayers.Layer.Vector("WFS", {<br>
> strategies: [new OpenLayers.Strategy.BBOX(),<br>
> saveStrategy],<br>
> protocol: new OpenLayers.Protocol.WFS({<br>
</div> version: "1.1.0",<br>
<div class="im">> url: "<a href="http://localhost:8080/geoserver/wfs" target="_blank">http://localhost:8080/geoserver/wfs</a>",<br>
> featureType: "Regional",<br>
> featureNS: "<a href="http://prodabel1062.pbh:8080/avis" target="_blank">http://prodabel1062.pbh:8080/avis</a>",<br>
> geometryName: "GEOLOC",<br>
> srsName: "EPSG:29193"<br>
> }),<br>
> projection: new OpenLayers.Projection("EPSG:29193")<br>
> });<br>
><br>
<br>
<br>
</div>Regards,<br>
Andreas.<br>
<font color="#888888"><br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</font></blockquote></div><br>