On 29 April 2011 13:33, ulao <[email protected]> wrote: > I'm able to load the basic wms, but not others. For example I'm trying this > one > > layer = new OpenLayers.Layer.WMS( "NASA Global > Mosaic","http://wms.jpl.nasa.gov/wms.cgi", > {layers: "gpw", > tileSize: new OpenLayers.Size(512,512), > serviceVersion:"1.0.0", > type:"png" }); > > I have tried all kinds of options and all I get is X's for tiles. If I right > click a tile and get the location and put that in to a browser I get the cgi > download. So I'm guessing its responding. > > here is the link I get. > http://wms.jpl.nasa.gov/wms.cgi?LAYERS=gpw&TILESIZE=w%3D512%2Ch%3D512&SERVICEVERSION=1.0.0&TYPE=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=-180,0,-90,90&WIDTH=256&HEIGHT=256 >
Opening that link gives: <?xml version='1.0' encoding="UTF-8" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM "http://wms.jpl.nasa.gov/exception_1_1_1.dtd "> <ServiceExceptionReport version="1.1.1"> <ServiceException> This server no longer provides full WMS services! </ServiceException> </ServiceExceptionReport> So I think you are probably out of luck. Ian -- Ian Turton _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
