Thanks Andre! I didn't know that both capabilities are officially  
different. In fact, it wasn't specify in OpenLayers that the  
OpenLayers.Format.WFSGetCapabilities partially accepts the 1.1.0 version  
trough the read() method!

At this moment, I don't need to use the 1.1.0. I don't need on-the-fly  
reprojection or GML3 format for my feature. But I wanted to use this WFS  
version in contemplation of future ameliorations about WFS which will be  
probably implemented in the 1.1.0 verison (and maybe not in the 1.0.0?).

Geoffrey


On Tue, 12 Jul 2011 12:37:12 +0200, Andrea Aime  
<[email protected]> wrote:

> On Tue, Jul 12, 2011 at 11:59 AM, gbrun <[email protected]> wrote:
>> Hi!
>>
>> I post this mail on the GeoServer list, and not on the OpenLayers list,
>> because I might my problem is related to GeoServer.
>>
>> For my web application, I'm building a tree that contains WFS  
>> Capabilities
>> (with GeoExt). To achieve, I have to query my layers in GeoServer with  
>> the
>> GetCapabilities request. The point is, that GeoServer doesn't return the
>> same XML structure according to the service version. For example, when I
>> use the 1.0.0 WFS version, I can manipulate the capability object within
>> OpenLayers because this object exists in the XML file returned by
>> GeoServer. But when I use the 1.1.0 version, it doesn't work, because  
>> the
>> XML file returned by GeoServer doesn't have the same structure (and the
>> capability object).
>>
>> Does someone know how I can use the GetCapabilities request in  
>> OepnLayers
>> with the 1.1.0 version?
>
> The capabilities documents are indeed different, they follow different
> versions of the specification which does mandate different structure,  
> elements
> and so on.
>
> I guess the only thing you can do is to write code in OL to parse the  
> WFS 1.1
> capabilities as well?
>
> Out of curiosity, why do you need to use WFS 1.1 instead of WFS 1.0?
> GeoServer works with both versions of the protocol
>
> Cheers
> Andrea
>


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to