<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Chris,<br>
    <br>
    &nbsp; Yes, last time I looked at the Google Maps TOS, you must use
    Google's API to use their map tiles.<br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 9/5/2011 11:57 PM, Chris Jackson wrote:
    <blockquote
cite="mid:CACU1gf54g0-gjF27+OUN1n-Bd7d8b8Zw5-bx=F2gZxacS0xhag@mail.gmail.com"
      type="cite">Hi Brent and Armin
      <div><br>
      </div>
      <div>The&nbsp;GetCapapabilies bit threw me! &nbsp;Well the one I am trying
        to load is GEBCO which I think is up. &nbsp;Having said that I have
        just changed the wms_name and reloaded the map and it works
        (maybe it just needed some sleep)..!&nbsp;</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&amp;C&nbsp;because&nbsp;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>&nbsp; &nbsp; NAME &nbsp; &nbsp; &nbsp; &nbsp; 'gebco'</div>
        <div>&nbsp; &nbsp; TYPE &nbsp; &nbsp; &nbsp; &nbsp; RASTER</div>
        <div>&nbsp; &nbsp; OFFSITE &nbsp; &nbsp; &nbsp;0 0 0</div>
        <div>&nbsp; &nbsp; STATUS &nbsp; &nbsp; &nbsp; On</div>
        <div>&nbsp; &nbsp; CONNECTIONTYPE WMS</div>
        <div>&nbsp; &nbsp; CONNECTION "<a moz-do-not-send="true"
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>&nbsp; &nbsp; METADATA</div>
        <div>&nbsp; &nbsp; &nbsp; "wms_srs" "EPSG:4326"</div>
        <div>&nbsp; &nbsp; &nbsp; "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>&nbsp; &nbsp; &nbsp; "wms_server_version" "1.1.1"</div>
        <div>&nbsp; &nbsp; &nbsp; "wms_format" "image/jpeg"</div>
        <div>&nbsp; &nbsp; END</div>
        <div><br>
        </div>
        <div>&nbsp; &nbsp; PROJECTION</div>
        <div>&nbsp; &nbsp; &nbsp; "init=epsg:4326"</div>
        <div>&nbsp; &nbsp; END</div>
        <div>&nbsp; END&nbsp;</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">&lt;<a moz-do-not-send="true"
              href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>&gt;</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&nbsp; GetCapapabilies XML).<br>
              <pre cols="72">Best Regards,
Brent Fraser</pre>
              <div>
                <div> <br>
                  On 9/5/2011 3:53 PM, Chris Jackson wrote: </div>
              </div>
              <blockquote type="cite">
                <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. &nbsp;I resorted to
                      the MapServer tutorial example and still had no
                      luck:</div>
                    <div><br>
                    </div>
                    <div>
                      <div>&nbsp; LAYER # MODIS WMS map from JPL</div>
                      <div>&nbsp; &nbsp; NAME &nbsp; &nbsp; &nbsp; &nbsp; modis_jpl</div>
                      <div>&nbsp; &nbsp; TYPE &nbsp; &nbsp; &nbsp; &nbsp; RASTER</div>
                      <div>&nbsp; &nbsp; OFFSITE &nbsp; &nbsp; &nbsp;0 0 0</div>
                      <div>&nbsp; &nbsp; STATUS &nbsp; &nbsp; &nbsp; On</div>
                      <div>&nbsp; &nbsp; CONNECTIONTYPE WMS</div>
                      <div>&nbsp; &nbsp; CONNECTION "<a moz-do-not-send="true"
                          href="http://wms.jpl.nasa.gov/wms.cgi"
                          target="_blank">http://wms.jpl.nasa.gov/wms.cgi</a>?"</div>
                      <div><br>
                      </div>
                      <div>&nbsp; &nbsp; METADATA</div>
                      <div>&nbsp; &nbsp; &nbsp; "wms_srs" "EPSG:4326"</div>
                      <div>&nbsp; &nbsp; &nbsp; "wms_name" "modis"</div>
                      <div>&nbsp; &nbsp; &nbsp; "wms_server_version" "1.1.1"</div>
                      <div> &nbsp; &nbsp; &nbsp; "wms_format" "image/jpeg"</div>
                      <div>&nbsp; &nbsp; END</div>
                      <div><br>
                      </div>
                      <div>&nbsp; &nbsp; PROJECTION</div>
                      <div>&nbsp; &nbsp; &nbsp; "init=epsg:4326"</div>
                      <div>&nbsp; &nbsp; END</div>
                      <div>&nbsp; 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 moz-do-not-send="true" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
    </blockquote>
  </body>
</html>