[OpenLayers-Users] How to get list of all Layers from a wms servoce?

bartvde at osgis.nl bartvde at osgis.nl
Thu Apr 16 09:07:22 EDT 2009


Hi,

normally you would use the GetCapabilities interface for this, and then
parse it with OpenLayers.Format.WMSGetCapabilities. You need trunk for
that though since it's not in 2.7.

Best regards,
Bart

>
> Hi,
>
> I need to get a list of all layers from wms service. So I can choose
> serveral of it and load it dynamicaly. The wms server is a geoserver and
> I'm working with OpenLayers 2.7.
>
> Thanks for every hint!
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-get-list-of-all-Layers-from-a-wms-servoce--tp2642660p2642660.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list