Ok. I now see it's something which can be corrected at the WFS server side [1].<div><br></div><div>In Mapserver one can configure: </div><div><div> gml_geometries "geometry"</div><div> gml_geometry_type "polygon"</div>
<div>... to set the geometry type explicitly to type="gml:polygonPropertyType".</div></div><div><br></div><div>Yours, Stefan</div><div><br></div><div>[1] <a href="http://osgeo-org.1560.x6.nabble.com/UMN-MAPSERVER-DEV-change-in-WFS-DescribeFeatureType-response-MS-4-6-td4309674.html">http://osgeo-org.1560.x6.nabble.com/UMN-MAPSERVER-DEV-change-in-WFS-DescribeFeatureType-response-MS-4-6-td4309674.html</a><div>
<br></div><div><br></div><div><br><div class="gmail_quote">2013/4/21 Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le dimanche 21 avril 2013 22:39:09, Stefan Keller a écrit :<br>
<div class="im">> 2013/4/21 Even Rouault <<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>><br>
><br>
> > There's nothing wrong in the GetFeature output. It is completely<br>
><br>
> legitimate<br>
><br>
> > and usual to have a gml:Box inside a gml:boundedBy.<br>
> > The DescribeFeatureType is also valid, but it could be made more specific<br>
><br>
> by<br>
><br>
> > reporting type="gml:SurfacePropertyType" instead of<br>
> > type="gml:GeometryPropertyType"<br>
><br>
> I see.<br>
><br>
> To me GetCapabilities of http://<a href="http://maps.zh.ch/wfs/FnsNSWFS" target="_blank">http://maps.zh.ch/wfs/FnsNSWFS</a> should also<br>
> be more specific. Currently there's no geometry hint (and it even issues<br>
> warnings about missing EXTENT).<br>
><br>
> So,given it's DescribeFeatureType would report<br>
> type="gml:SurfacePropertyType" would the WFS reader of GDAL work?<br>
<br>
</div>Yes (well, to be pedantic, it does already work currently)<br>
<div class="im"><br>
><br>
> I thought, most WFS clients/converters read GetCapabilities, not<br>
> DescribeFeatureType.<br>
<br>
</div>The output of GetCapabilities cannot be used to guess the layer geometry type,<br>
since there's no element to indicate it. You have to read the output of<br>
DescribeFeatureType for that (or fallback to the features themselves).<br>
</blockquote></div><br></div></div>