Terry,

Justin committed his WFS 2 work on 2011-10-26. The absence of WFS 2 
support in your GeoServer build is thus expected.

You are looking in the right place. A recent trunk build has a 
GetCapabilities response that includes:

wfs:WFS_Capabilities/ows:OperationsMetadata

<ows:Parameter name="AcceptVersions">
...
<ows:AllowedValues>
<ows:Value>1.0.0</ows:Value>
<ows:Value>1.1.0</ows:Value>
<ows:Value>2.0.0</ows:Value>
</ows:AllowedValues>

I think that this is a good place to detect WFS 2.0.0 capability.

Kind regards,
Ben.

On 17/01/12 13:00, [email protected] wrote:
> Hi Guys
>
> I was wondering how I would detect (as a service) that an instance of 
> geoserver supported WFS 2.0? (not test, but detect...)
>
> I am running
> *  Subversion Revision 16340
> *  Build Date 24-Sep-2011 23:22
> *  GeoTools Version 8-SNAPSHOT (rev 38076)
>
> If I send this 
> http://www.example.org/geoserver/wfs?service=wfs&request=GetCapabilities
> I can see
> <ows:ServiceType>WFS</ows:ServiceType><ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion>
> And
> <ows:Parameter 
> name="AcceptVersions"><ows:Value>1.0.0</ows:Value><ows:Value>1.1.0</ows:Value></ows:Parameter>
>
> But nothing relating to a WFS 2.0
>
>
> How can I detect this from the getCapabilities statements?
>
> Regards,
> Terry
>

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

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to