Hyrax WMS
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.
In an instance of the ncWMS, a Dynamic Service is configured that points to a Hyrax server. This allows the ncWMS instance to access all of the holdings of the DAP server. However, the ncWMS does not "crawl" or "discover" or in any other way catalog or inventory the DAP server. Instead the user configures the Hyarx instance to add the WMS service to it's catalogs and services content. Hyrax then directs WMS traffic to the ncWMS. The ncWMS in turn 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>