Thanks Ben,

It turns out I was distracted by eye-candy on the geoserver webpage.

I will update my build.

Regards,
Terry Rankine

-----Original Message-----
From: Caradoc-Davies, Ben (CESRE, Kensington) 
Sent: Tuesday, 17 January 2012 1:47 PM
To: Rankine, Terry (CESRE, Kensington)
Cc: [email protected]
Subject: Re: [Geoserver-users] [ExternalEmail] detecting wfs 2 capabilities

The latest GeoServer trunk has:
<ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>

but does not advertise 1.0.0 or 1.1.0 in this section. Note also that 
the allowed values I list below are only for GetCapabilities (in an 
oddly circular piece of information).

The GeoServer capabilities document does not list any versions for 
GetFeature, for example. Note that deegree does declare allowed versions.

Kind regards,
Ben.

On 17/01/12 13:28, Ben Caradoc-Davies wrote:
> 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