Hi,<br><br>I think the best way to do this is by performing the reprojection client-side (if I lead you otherwise it wasn't my intention - sorry). Just config the layer at Geoserver with its native EPSG without any modifications. This way you should get the layer with no problems at the demo page. <br>
<br>Then at client-side the layer must be reprojected to the map's SRS. Use this example to guide you:<br><br><a href="http://openlayers.org/dev/examples/wfs-reprojection.html">http://openlayers.org/dev/examples/wfs-reprojection.html</a><br>
<br>Hope it helps,<br><br>Luís<br><br><div class="gmail_quote">2010/3/8 Sarah Schuessler <span dir="ltr"><<a href="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>I tried to alter srs code at geoserver from 31467 to 4326. If I use option "reproject" at geoserver gui I can see my layer from geoserver demo page (if I use "force declared" or "keep native" I could not even see my layer). But if I want to make a getfeature request I get an exception:<br>
<span>error occured getting features Had troubles handling filter reprojection..could not decode srs '<a href="http://www.opengis.net/gml/srs/epsg.xml#4326" target="_blank">http://www.opengis.net/gml/srs/epsg.xml#4326</a>' null ... </span><br>
I thought I could force geoserver to use epsg 4326 at my request with my OL code, but as you said I have to manage it geoserver side...?<br>Any further hints about that?<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<br>Thanks.<br>best regards<br>Sarah<br></div></div></div></blockquote></div><br>