Hi List,
I have a version negotiation question for WCS.
I'm making GetCapabilities requests to various public boxes for WCS
version 1.1.2, and GeoServer doesn't seem to support this particular
version. GeoServer seems to go from 1.1.1, then straight to 2.0.1; I
guess that's what got funded.
The odd thing is in this scenario, GeoServer is returning the 2.0.1
GetCap. I would have expected the 1.1.1 GetCapabilities.
The only WCS spec I can see that discusses version negotiation is
the WCS 1.0.0 spec. Section 6.2.4 says:
" If no version number is specified in the request, the server must
respond with the highest version it understands and label the response
accordingly."
Ok, but I *did* specify a version number. My query is something like:
http://example.com/geoserver/ows?request=GetCapabilities&service=WCS&version=1.1.2
So these are the negotiation rules in the spec:
"a) If the server implements the requested version number, the
server must send that version.
b) If a version unknown to the server is requested, the server must
send the highest version it knows that is less than the requested version.
c) If the client request is for a version lower than any of those
known to the server, then the server must send the lowest version it knows.
[snip]"
So my question is, which of these rules is triggering? To my mind
it should be rule (b) - I'm requesting an unknown number, so the server
should be returning the highest version that's *less* than it, so 1.1.1.
Am I misreading the spec/situation or is this a bug in GeoServer's
negotiating?
Cheers,
Jonathan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users