Hyrax WMS: Difference between revisions
No edit summary |
|||
Line 3: | Line 3: | ||
== Overview == | == Overview == | ||
With the recent addition of the new Dynamic Services feature in the [http://www.resc.rdg.ac.uk/trac/ncWMS/ ncWMS WMS Server] from [http://www.resc.reading.ac.uk/ Reading e-Science Centre] Hyrax can now provide WMS services for all of it's appropriate holdings. | |||
Leveraging the ncWMS's ability to work directly with DAP datasets ( +1 Java-NetCDF library), Hyrax simply adds the WMS service to it's catalogs and services content and directs WMS traffic to the ncWMS. The ncWMS then retrieves the data directly from Hyrax and services the request. | |||
The ncWMS instance may be hosted anywhere, however for best performance we suggest you host your own ncWMS running in the same Tomcat instance as Hyrax. With such a configuration the WMS response performance for datasets backed by the DAP service is nearly as fast as the ncWMS response performance using direct file access. | |||
== Configuration == | == Configuration == |
Revision as of 20:24, 11 August 2014
Hyrax now works with ncWMS
Overview
With the recent addition of the new Dynamic Services feature in the ncWMS WMS Server from Reading e-Science Centre Hyrax can now provide WMS services for all of it's appropriate holdings.
Leveraging the ncWMS's ability to work directly with DAP datasets ( +1 Java-NetCDF library), Hyrax simply adds the WMS service to it's catalogs and services content and directs WMS traffic to the ncWMS. The ncWMS then retrieves the data directly from Hyrax and services the request.
The ncWMS instance may be hosted anywhere, however for best performance we suggest you host your own ncWMS running in the same Tomcat instance as Hyrax. With such a configuration the WMS response performance for datasets backed by the DAP service is nearly as fast as the ncWMS response performance using direct file access.
Configuration
Two pieces of software must be configured: An instance ncWMS and Hyrax. You can use an ncWMS instance hosted anywhere if you wish, however for best performance we suggest you host your own ncWMS running in the same Tomcat as Hyrax. With such a configuration the WMS response performance for datasets backed by the DAP service is nearly as fast as the ncWMS response performance using direct file access.
ncWMS configuration
Hyrax Configuration
<WebServiceHandler className="opendap.viewers.NcWmsService" serviceId="ncWms" >
<applicationName>Web Mapping Service</applicationName>
<NcWmsService href="/ncWMS/wms" base="/ncWMS/wms" ncWmsDynamicServiceId="lds" />
</WebServiceHandler>
<WebServiceHandler className="opendap.viewers.GodivaWebService" serviceId="godiva" >
<applicationName>Godiva WMS GUI</applicationName>
<NcWmsService href="http://yourNcWMSserver:8080/ncWMS/wms" base="/ncWMS/wms" ncWmsDynamicServiceId="lds"/>
<Godiva href="/ncWMS/godiva2.html" base="/ncWMS/godiva2.html"/>
</WebServiceHandler>