Hi Brent and Armin<div><br></div><div>The GetCapapabilies bit threw me! Well the one I am trying to load is GEBCO which I think is up. Having said that I have just changed the wms_name and reloaded the map and it works (maybe it just needed some sleep)..! </div>
<div><br></div><div>Out of interest how do you specify a given layer from the WMS in the mapfile code and is the wms_name just a friendly name you use or specific to the WMS too?</div>
<div><br></div><div>Separately Google maps layers, mapfiles and GDAL, from what I read loading tiles this way this breaks Google's T&C because it bypasses their APIs, anyone have a view....?</div><div><br></div><div>
My GEBCO code is:</div><div><br></div><div><div>
LAYER # GEBCO WMS map</div><div> NAME 'gebco'</div><div> TYPE RASTER</div><div> OFFSITE 0 0 0</div><div> STATUS On</div><div> CONNECTIONTYPE WMS</div><div> CONNECTION "<a href="http://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv" target="_blank">http://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv</a>?"</div>
<div><br></div><div> METADATA</div><div> "wms_srs" "EPSG:4326"</div><div> "wms_name" "<span style="font-family:Verdana, Arial, Tahoma, sans-serif;font-size:13px;line-height:21px;background-color:rgb(255, 255, 255)">gebco_08_grid</span><span>"</span></div>
<div> "wms_server_version" "1.1.1"</div><div> "wms_format" "image/jpeg"</div><div> END</div><div><br></div><div> PROJECTION</div><div> "init=epsg:4326"</div>
<div> END</div><div> END </div><div><br></div><div><br></div><div>Cheers</div><div>Chris</div><br><div class="gmail_quote">On 5 September 2011 23:06, Brent Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Chris,<br>
<br>
I don't think NASA's JPL is serving data anymore (although it does
return a GetCapapabilies XML).<br>
<pre cols="72">Best Regards,
Brent Fraser</pre><div><div></div><div>
<br>
On 9/5/2011 3:53 PM, Chris Jackson wrote:
</div></div><blockquote type="cite"><div><div></div><div>Hi
<div><br>
</div>
<div>I am trying to use a remote WMS service in my mapfile and am
not having any luck. I resorted to the MapServer tutorial
example and still had no luck:</div>
<div><br>
</div>
<div>
<div> LAYER # MODIS WMS map from JPL</div>
<div> NAME modis_jpl</div>
<div> TYPE RASTER</div>
<div> OFFSITE 0 0 0</div>
<div> STATUS On</div>
<div> CONNECTIONTYPE WMS</div>
<div> CONNECTION "<a href="http://wms.jpl.nasa.gov/wms.cgi" target="_blank">http://wms.jpl.nasa.gov/wms.cgi</a>?"</div>
<div><br>
</div>
<div> METADATA</div>
<div> "wms_srs" "EPSG:4326"</div>
<div> "wms_name" "modis"</div>
<div> "wms_server_version" "1.1.1"</div>
<div>
"wms_format" "image/jpeg"</div>
<div> END</div>
<div><br>
</div>
<div> PROJECTION</div>
<div> "init=epsg:4326"</div>
<div> END</div>
<div> END # Modis WMS image ends here</div>
</div>
<div><br>
</div>
<div>Mapscript has wms client enabled so am I missing another
setting required in the mapfile?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Chris</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
mapserver-users mailing list
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</div>
</blockquote></div><br></div>