There is another problem with the <Filter> in OGR when dealing with WFS 1.1.0:<br><br>The wfs namespace is missing. The current implementation sends<br><br><Filter xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>"><br>
<br>but should be<br><br><Filter xmlns="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>"><br><br>
Since I am using an XML serializer to decode the filter, I get hickups. I have to implement<br>a hack to make it work.<br><br><br>- Oyvind<br><br><br><div class="gmail_quote">On Mon, May 14, 2012 at 9:21 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">><br>
> Then we ran into another problem, when we used OGRLayer.<br>
> SetSpatialFilterRect() Our server received a filter which is deprecated in<br>
> version 1.1.0. , so that we now need to be backwards compatible with<br>
> version 1.0.0, or so the guy making our server says. I'll get some more<br>
> detailed info from him when he gets back 16.05<br>
<br>
</div>Yes this is a known issue. Basically, the OGR WFS client is not conformant<br>
with the WFS 1.1 spec on this. Ultimately this should be fixed. See the thread<br>
initiated by the following message <a href="http://lists.osgeo.org/pipermail/gdal-%0Adev/2012-January/031327.html" target="_blank">http://lists.osgeo.org/pipermail/gdal-<br>
dev/2012-January/031327.html</a> for the whole discussion.<br>
<br>
Otherwise, when testing with your server on the gemini:VA_LINE layer, I<br>
discovered the GML parsing parser in OGR didn't like srsDimension="3" set at<br>
the LineString level. See <a href="http://trac.osgeo.org/gdal/ticket/4663" target="_blank">http://trac.osgeo.org/gdal/ticket/4663</a><br>
<div class="im HOEnZb"><br>
><br>
> You can have a go if you like and test it:<br>
> <a href="http://titest01.powel.no/GeminiMapServer/GeminiVADemo.wfs?service=WFS&versi" target="_blank">http://titest01.powel.no/GeminiMapServer/GeminiVADemo.wfs?service=WFS&versi</a><br>
> on=1.1.0<br>
><br>
><br>
> -----Original Message-----<br>
> From: Even Rouault [mailto:<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>]<br>
> Sent: 13. mai 2012 22:31<br>
><br>
> Is this a server accessible from the outside so I can give a try ?<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br>