Milo van der Linden wrote: > I have a road table in wgs84 (epsg:4326) > > When I run: > > <http://www.map20.org/geoserver/wfs?typename=and%3Aroad&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A900913&BBOX=14623867.08165199,4088845.715628895,14637625.746741403,4093422.3826968325> > > > > I get > > <gml:boundedBy> > <gml:null>unknown</gml:null> > </gml:boundedBy> > </wfs:FeatureCollection> > > When I run: > <http://www.map20.org/geoserver/wfs?typename=and%3Aroad&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A4326&BBOX=1,50,2,51> > > > > I get a full set of features. > > Is there something I can configure in geoserver so it will also output > when requested in a different then native projection?
Nope, you jsut have to make the request in the proper way. WFS and WMS do not work the same way. In WFS the bbox is always expressed in the native srs no matter what &srs you specify, if you want to express the bbox in another srs, the syntax should be someething like: &bbox=x,y,x,y,srsName Also, the syntax for specifying a reprojection srs is &srsName Cheers Andrea ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
