Hi,

SrsName is for defining the output projection and fifth component of BBOX is 
there for defining the projection of the BBOX.  Reading 
http://jira.codehaus.org/browse/GEOS-2199 suggests that it is a right thing to 
do (a comment by Andrea Aime).  The original question was that why does the 
same query work against starndard feature type but not against a custom one.

The default srsName of fiters or BBOX has been popping up a few times this 
week.  I would like to see a document collecting together what should happen on 
the server side in these ten cases 

WFS 1.0.0
- GET and BBOX without srsname and fifth element
- GET and BBOX with non-native srsname in the query and no fitht element in 
bbox (non-standard but still supported by many WFS servers)
- GET and BBOX with non-native srsname in the query and bbox including the 
fifth element
- POST with non-native srsname in query and no srsname for the filter geometry
- POST with non-native srsname in query and filter geometry including srsname
WFS 1.1.0
- Same five alternatives

It would be extremely nice if at least Geoserver, deegree, TinyOWS and 
Mapserver developers had the same interpretation and publish it in their WFS 
documentation.  The problem is real because most WFS clients I have been 
testing do not use srsName when they construct filters. However, a few of them 
do, even when the WFS version is 1.0.0 and method is POST.  At least for me it 
is not totally clear what is the right way and I would guess that people 
developing their own clients may have different expectations in some cases.  

-Jukka Rahkonen-

________________________________________
Lähettäjä: Ben Caradoc-Davies [[email protected]]
Lähetetty: 14. kesäkuuta 2011 6:56
Vastaanottaja: Sina Masoud-Ansari
Kopio: [email protected]
Aihe: Re: [Geoserver-users] WFS getFeature on custon featuretype

Sina,

for WFS, I think this option should be SRSNAME=EPSG:900913

I have not used the five-component version of BBOX. Please try SRSNAME
to see if it works.

Kind regards,
Ben.

On 13/06/11 21:29, Sina Masoud-Ansari wrote:
> If I inlcude SRS=EPSG:900913 in the requests the results are the same.

--
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to