[gdal-dev] WFS - OGRLayer GetNextFeature - fails
Oyvind Idland
oyvind.idland at gmail.com
Tue May 15 02:58:14 EDT 2012
There is another problem with the <Filter> in OGR when dealing with WFS
1.1.0:
The wfs namespace is missing. The current implementation sends
<Filter xmlns:gml="http://www.opengis.net/gml">
but should be
<Filter xmlns="http://www.opengis.net/wfs" xmlns:gml="
http://www.opengis.net/gml">
Since I am using an XML serializer to decode the filter, I get hickups. I
have to implement
a hack to make it work.
- Oyvind
On Mon, May 14, 2012 at 9:21 PM, Even Rouault
<even.rouault at mines-paris.org>wrote:
> >
> > Then we ran into another problem, when we used OGRLayer.
> > SetSpatialFilterRect() Our server received a filter which is deprecated
> in
> > version 1.1.0. , so that we now need to be backwards compatible with
> > version 1.0.0, or so the guy making our server says. I'll get some more
> > detailed info from him when he gets back 16.05
>
> Yes this is a known issue. Basically, the OGR WFS client is not conformant
> with the WFS 1.1 spec on this. Ultimately this should be fixed. See the
> thread
> initiated by the following message http://lists.osgeo.org/pipermail/gdal-
> dev/2012-January/031327.html for the whole discussion.
>
> Otherwise, when testing with your server on the gemini:VA_LINE layer, I
> discovered the GML parsing parser in OGR didn't like srsDimension="3" set
> at
> the LineString level. See http://trac.osgeo.org/gdal/ticket/4663
>
> >
> > You can have a go if you like and test it:
> >
> http://titest01.powel.no/GeminiMapServer/GeminiVADemo.wfs?service=WFS&versi
> > on=1.1.0
> >
> >
> > -----Original Message-----
> > From: Even Rouault [mailto:even.rouault at mines-paris.org]
> > Sent: 13. mai 2012 22:31
> >
> > Is this a server accessible from the outside so I can give a try ?
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120515/f7dece9e/attachment.html
More information about the gdal-dev
mailing list