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
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){
> 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
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=
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