Hi Bart,
thanks for yours answer. Could you give me a short code example, so I can
see how i have to use it in code.
thanks a lot!
Urs
--
View this message in context:
http://n2.nabble.com/How-to-get-only-attributes-from-WMS-or-WFS-in-Openlayers-tp4783727p4789847.html
Sent from the
I need the attributes of a WFS or WMS without getting the geometry. If I load
it with a normal WFS-Layer it takes to long downloading all the geometries.
Is there a easy way getting only the attributes?
Thanks for help!
--
View this message in context:
Hi,
you can specify propertyNames on the options when you call
OpenLayers.Format.WFST write to only get a list of attributes back.
See also:
http://trac.openlayers.org/ticket/1827
I use a WFS DescribeFeatureType request to get the list of attributes and
then I filter out the geometry attribute