Changes between Initial Version and Version 7 of Ticket #996
- Timestamp:
- Jan 21, 2008, 1:41:15 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #996
- Property Cc added
- Property Milestone → 5.2 release
-
Ticket #996 – Description
initial v7 1 {{{ 1 2 2 It would be helpful to eventually have some sort of a function to apply the 3 3 negotiation rules set forth in the various OGC specs. I believe the logic is 4 4 consistent from spec to spec. Input would be the requested version and an array 5 of supported versions and the result would be the version to return. Something like:5 of supported versions and the result would be the version to return. 6 6 7 Something like: 8 {{{ 7 9 int MS_NUMWCSVERSIONS = 2 8 10 char *wcsVersions[MS_NUMWCSVERSIONS] = {"1.0.0", "1.1.0"}; 9 11 10 12 version = msOWSGetVersion(request->version, wcsVersions); 13 }}} 11 14 12 15 A requested version of 1.2.0 would return 1.0.0 and so on. Not a big deal for … … 19 22 20 23 BTW I've attached this to WMS component in lieu of a OWS component... 21 }}}