AW: [OpenLayers-Users] WMSCapabilities

2012-04-28 Thread Morper-Busch, Lucia
leted the layer, and the request gave me the desired response. Lucia Von: openlayers-users-boun...@lists.osgeo.org im Auftrag von Morper-Busch, Lucia Gesendet: Fr 27.04.2012 17:18 An: openlayers-users@lists.osgeo.org Betreff: [OpenLayers-Users] WMSCapabil

[OpenLayers-Users] WMSCapabilities

2012-04-27 Thread Morper-Busch, Lucia
Hello, I want to read the WMS capability xml, in order to get the abstract and the metadata link of each layer. My code is: var request = OpenLayers.Request.GET({ url: url + '?service=wms&version=1.1.1&format=text/xml&request=getcapabilities' ,success: function(response){

Re: [OpenLayers-Users] WMScapabilities

2010-11-04 Thread Tonton
> xml= " > http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/courlyall.map&request=GetCapabilities&SERVICE=WMS&version=1.3 > " > > You'll need to actually request the data. right now, you're passing a > URL instead of XML. > > -- Chris > > you right function parseData(xml) { va

Re: [OpenLayers-Users] WMScapabilities

2010-11-04 Thread christopher.schmidt
On Nov 4, 2010, at 9:49 AM, ext Tonton wrote: > Hello > > i try to parse a wms for obtain a layer list but it seem a bit difficult for > me > i start from parse gml sample > > function parseData() { > g = new OpenLayers.Format.WMSCapabilities(); > html = "" > xml=

[OpenLayers-Users] WMScapabilities

2010-11-04 Thread Tonton
Hello i try to parse a wms for obtain a layer list but it seem a bit difficult for me i start from parse gml sample function parseData() { g = new OpenLayers.Format.WMSCapabilities(); html = "" xml= " http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/courlyall.map