Re: [Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-16 Thread Ian Turton
On 16 May 2012 02:55, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: Ian, that is GML 2 (gml:outerBoundaryIs). The original example (with gml:exterior) appears to be GMl 3.1. I *knew* I should have gone and looked it up instead of guessing. :-) Ian

Re: [Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-16 Thread Muir, Christopher
: [Geoserver-users] WFS 1.1.0 getFeature request not working On 15 May 2012 15:24, Muir, Christopher christopher.m...@ros.gov.uk wrote: Hi I'm attempting to submit a GetFeature request to GeoServer (2.1.3) using the POST method. I want to use WFS 1.1.0/gml3 so that I get a number of features= x

[Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-15 Thread Muir, Christopher
Hi I'm attempting to submit a GetFeature request to GeoServer (2.1.3) using the POST method. I want to use WFS 1.1.0/gml3 so that I get a number of features= x response (WFS 1.0.0 doesn't return this). I'm using an 'Intersects' filter and I'm supplying the vertices of a polygon for the

Re: [Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-15 Thread Ian Turton
On 15 May 2012 15:24, Muir, Christopher christopher.m...@ros.gov.uk wrote: Hi I’m attempting to submit a GetFeature request to GeoServer (2.1.3) using the POST method.  I want to use WFS 1.1.0/gml3 so that I get a “number of features= x” response (WFS 1.0.0 doesn’t return this).  I’m using

Re: [Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-15 Thread Ben Caradoc-Davies
Ian, that is GML 2 (gml:outerBoundaryIs). The original example (with gml:exterior) appears to be GMl 3.1. Kind regards, Ben. On 15/05/12 23:57, Ian Turton wrote: I think that GeoServer is expecting a GML 3 polygon in the input so something like:

Re: [Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-15 Thread Ben Caradoc-Davies
Chris, you have a stray comma in your posList. This breaks the parser. A few other observations: Your schemaLocation is incorrect. The correct schemaLocation for WFS 1.1.0 is: http://schemas.opengis.net/wfs/1.1.0/wfs.xsd GeoServer won't care, but fixing the schemaLocation will help you

Re: [Geoserver-users] WFS 1.1.0 getFeature request not working

2012-05-15 Thread Ben Caradoc-Davies
And while I am being pedantic (never!), WFS 1.1.0 ogc:Query has an attribute srsName not srs. Kind regards, Ben. On 16/05/12 10:14, Ben Caradoc-Davies wrote: GeoServer won't care about this either, but valid requests are easier to debug. -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au