WMS in Metamod

Implementation

WMS operations in Metamod

http://dev-vm140/Metamod2.x/sch/wms.php?wmssetup=http%3A%2F%2Fdev%2dvm140%2FMetamod2.x%2Fsch%2FgetWMSSetup%3FdatasetName%3DH2x%2Fice%2Fice_conc_nh_200910191200_CF

WMS Client

OpenLayers - JavaScript client for web. Uses extended WMC support library developed by met.no.

http://openlayers.org/

WMS Server

NcWMS - integrated with THREDDS. Cannot render shapes, only grids.

http://www.resc.rdg.ac.uk/trac/ncWMS/

MapServer - used on wms.met.no for displaying coastlines

http://mapserver.org/

Protocols and formats

WMS

The OpenGIS® Web Map Service Interface Standard (WMS) provides a simple HTTP interface for requesting geo-registered map images from one or more distributed geospatial databases. A WMS request defines the geographic layer(s) and area of interest to be processed. The response to the request is one or more geo-registered map images (returned as JPEG, PNG, etc) that can be displayed in a browser application.

http://www.opengeospatial.org/standards/wms

WMS example

http://dev-vm188.met.no/thredds/wms/osisaf/met.no/ice/ice_conc_nh_200910191200_CF.nc?VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=BOXFILL%2Fgreyscale&LAYERS=ice_conc&SERVICE=WMS&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A32661&BBOX=-500000,-3000000,2000000,-500000&WIDTH=256&HEIGHT=256

GetCapabilities

XML document describing all available layers and styles in a single data file. Lacks projection and bounding box info.

http://webhelp.esri.com/arcims/9.2/general/mergedProjects/wms_connect/wms_connector/get_capabilities.htm

Example Capabilities document

http://dev-vm188/thredds/wms/osisaf/met.no/ice/ice_conc_nh_200911291200_CF.nc?service=WMS&version=1.3.0&request=GetCapabilities

Web Map Context

XML document specifying desired presentation in client. Can merge layers from different sources, with only desired layers and corresponding styles.

http://www.opengeospatial.org/standards/wmc

Example WMC document

http://dev-vm140/cgi-bin/gc2wmc.pl?setup=http%3A%2F%2Fdev-vm140.oslo.dnmi.no%2FMetamod2.x%2Fsch%2FgetWMSSetup.php%3FdatasetName%3DH2x%2Fice%2Fice_conc_nh_200910161200_CF