There is, but it depends on your WFS product (and maybe also the underlying type of datastore).
E.g. here you can see a GeoServer example that advertises this is a multi polygon layer: http://demo.opengeo.org/geoserver/wfs?service=WFS&request=DescribeFeatureType&typename=topp:states I would advise you to ask on the list/forum of your WFS instead. Best regards, Bart -- Bart van den Eijnden OpenGeo - http://opengeo.org Expert service straight from the developers. On Aug 30, 2012, at 8:59 AM, Lucas Heezen - Covadis <[email protected]> wrote: > Hello, > > 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. > Is there a way to detect the geometry type of a WFS layer? > > I did a descriptFeatureType but this gives me only this: > > <xsd:element maxOccurs="1" minOccurs="0" name="geometrie" nillable="true" > type="gml:GeometryPropertyType"/> > > > Met vriendelijke groet, > Lucas Heezen > > Covadis b.v. > t: 026 3616600 > > Geograaf 12 > f: 026 3612317 > > 6921 EW Duiven > e: [email protected] > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
