| Hello, I am attempting to connect to a remote MapServer( http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi?map=/home/juribe/webcatastro/catastro.map& ) and retrieve the respective WMS layers. However, I am unable to do so for some reason. I get the result in XML format, and the map is not displayed. The remote MapServer server is located at: In my PHP/OpenLayers doc/code, i have this: var wmsUrl2 = "http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi"; var wms2 = new OpenLayers.Layer.WMS("WMS2", wmsUrl2, { map: '/home/juribe/webcatastro/catastro.map', //layers: 'p', //map_imagetype: 'jpg' SERVICE: 'WMS', VERSION: '1.1.1', REQUEST: 'GetCapabilities' }, {singleTile: true, isBaseLayer: false}); map.addLayer(wms2); Any help would be appreciated. Thanks! |
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users

