[OpenLayers-Users] help with nasa wms

Ian Turton ijturton at gmail.com
Fri Apr 29 14:19:36 EDT 2011


On 29 April 2011 13:33, ulao <S_K_U_N_X at yahoo.com> 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


More information about the Users mailing list