Is it possible to make GeoServer 1.7.5 default to delivering WFS 1.0.0
(GML2) responses to a GET query with neither version nor outputformat?
Kind regards,
--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia
Ben Caradoc-Davies ha scritto:
Is it possible to make GeoServer 1.7.5 default to delivering WFS 1.0.0
(GML2) responses to a GET query with neither version nor outputformat?
Nope, it is not. Actually, to be strict, without version we should return a service exception, since VERSION is mandatory (you get that
behaviour if you go in the WFS configuration and enable "strict cite
compliance").
The rule we're following is sort of similar to the capabilities service
negotation, if you don't say anything the highest version gets returned.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea Aime wrote:
Ben Caradoc-Davies ha scritto:
Is it possible to make GeoServer 1.7.5 default to delivering WFS 1.0.0
(GML2) responses to a GET query with neither version nor outputformat?
Nope, it is not. Actually, to be strict, without version we should return a service exception, since VERSION is mandatory (you get that
behaviour if you go in the WFS configuration and enable "strict cite
compliance").
Except for GetCapabilities in which version is optional in order to do the version negotiation dance.
But yeah, the answer is no. It is possible (on 1.7.x) to completely disable wfs 1.1 by removing the wfs11 jar from a geoserver distro. This will force 1.0 to be the default but will also completely erase wfs 1.1
The rule we're following is sort of similar to the capabilities service
negotation, if you don't say anything the highest version gets returned.
Cheers
Andrea
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.