[thredds] Specifying an external WMS service

Thought I'd post this here for reference

To expose an external WMS service (such as a 3rd party WMS or a standalone 
installation of NcWMS) through TDS and also included in ISO metadata, one can 
do this:

Define a service tag pointing at your external WMS server outside of the 
typical compound services.

<service name="agg" base="" serviceType="compound">
  <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/"/>
  ...
</service>

<service name="ncwms_in.usf.fvcom.ike.ultralite.vardrag.nowave.2d" 
base="http://ec2-107-21-136-52.compute-1.amazonaws.com:8080/wms/in_usf_fvcom_ike_ultralite_vardrag_nowave_2d/";
 serviceType="WMS" suffix="" />


Inside of your dataset tags: use the <access> tag:

<dataset name="FVCOM - IKE - Ultralite - Variable Drag - Waves - 2D" 
ID="in.usf.fvcom.ike.ultralite.vardrag.wave.2d" 
urlPath="auto/in.usf.fvcom.ike.ultralite.vardrag.wave.2d">
 <access serviceName="ncwms_in.usf.fvcom.ike.ultralite.vardrag.wave.2d" 
urlPath=""/>
 <access serviceName="agg" 
urlPath="auto/in.usf.fvcom.ike.ultralite.vardrag.wave.2d"/>
 ...
</dataset>


The result is this:

http://testbedapps-dev.sura.org/thredds/auto/inundation/inundation.html?dataset=in.usf.fvcom.ike.ultralite.vardrag.nowave.2d



  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: