<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There is, but it depends on your WFS product (and maybe also the underlying type of datastore).<div><br></div><div>E.g. here you can see a GeoServer example that advertises this is a multi polygon layer:</div><div><br></div><div><a href="http://demo.opengeo.org/geoserver/wfs?service=WFS&request=DescribeFeatureType&typename=topp:states">http://demo.opengeo.org/geoserver/wfs?service=WFS&request=DescribeFeatureType&typename=topp:states</a></div><div><br></div><div>I would advise you to ask on the list/forum of your WFS instead.</div><div><br></div><div>Best regards,</div><div>Bart</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br><div><div>On Aug 30, 2012, at 8:59 AM, Lucas Heezen - Covadis <<a href="mailto:Heezen@Covadis.nl">Heezen@Covadis.nl</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<br><br>I'm building a application which can draw features. But the handler selected for the drawing is dynamic by its layer. So it could be a mulitpoint, multipolygon etc.<br>Is there a way to detect the geometry type of a WFS layer?<br><br>I did a descriptFeatureType but this gives me only this:<br><br><xsd:element maxOccurs="1" minOccurs="0" name="geometrie" nillable="true" type="gml:GeometryPropertyType"/><br><br><br>Met vriendelijke groet,<br>Lucas Heezen<br><br>Covadis b.v. <br>t: 026 3616600 <br><br>Geograaf 12 <br>f: 026 3612317 <br><br>6921 EW Duiven <br>e: <a href="mailto:heezen@covadis.nl">heezen@covadis.nl</a> <br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></body></html>