[OpenLayers-Users] Atribute list

Phil Scadden p.scadden at gns.cri.nz
Sun Nov 13 21:52:31 EST 2011


On 14/11/2011 2:40 p.m., Tondo wrote:
>
> I've got two simple questions:
> 1. Is there any method that returns list of layer's attributes?
> 2. Is there any method that returns list of feature's attributes?

You want the WMS and WFS GetCapabilities documents and then parse them 
with Format.WFSCapabilities or Format.WMSCapabilities parsers. Also the 
WMSDescribeLayer

GeoExt has some wrappers for these objects.


Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list