Hi, 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.
Then at client-side the layer must be reprojected to the map's SRS. Use this example to guide you: http://openlayers.org/dev/examples/wfs-reprojection.html Hope it helps, Luís 2010/3/8 Sarah Schuessler <[email protected]> > Hi, > > 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: > error occured getting features Had troubles handling filter > reprojection..could not decode srs ' > http://www.opengis.net/gml/srs/epsg.xml#4326' null ... > 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...? > Any further hints about that? > > Thanks. > best regards > Sarah >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
