I have data store from postgis going hto geoserver-1.6-beta3 and then I am using openlayers with google as base layer.
The data in postgis is in 4326 format; the geoserver featuretype is defined as 4326 format but my openlayers requests in sphericalMercator (i.e. 900913) format.
The WMS comes out perfect while the wfs still works only in 4326 format. Here is what I am finding:
If I used EPSG:900913 bbox request like following, I get empty features. http://localhost//geoserver-1.6-beta3/wfs?typename=tpoint&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A900913&BBOX=8642192.561833%2C1449948.321283%2C8644628.992109%2C1451278.803306&outputformat=json
However if I convert the bbox to EPSG:4326 (but SRS param still for 900913), I do get the data (except that the response is in 4326):
http://localhost/geoserver-1.6-beta3/wfs?typename=tpoint&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A900913&BBOX=77.706642%2C12.794518%2C77.717371%2C12.80498&outputformat=json
How do I get the wfs data in EPSG:900913?
BTW, I did try WFS 1.1 and WFS 1.0 request string in the url. Changing the featuretype definition in geoserver to 900913 also did not make any difference.
With the geoserver 1.5.3, even the wms is coming out wrong; it comes completely off by few hundred kilometers. With geoserver 1.6-beta3, the wms is fine but the wfs is not coming through.
What am doing wrong?
Thanks in advance..
Louvy Joseph