3.7.3 Creating an OGC WMS Connection

You can create a new connection to an external OGC (Open Geospatial Consortium) WMS (Web Map Service) service.

This enables you to create an OGC WMS dataset which can be used in map visualizations.

Note that a WMS service or server typically offers many individual map layers that can be combined in different orders. The full list of available map layers, as well as many other important supported functionalities are all advertised by the WMS server through a standard WMS GetCapabilities response.

When you create a new WMS connection, Spatial Studio will be querying such capabilities against the external WMS server using the standard GetCapabilities call. Based on the result of such a query, you will later be able to choose the required WMS map layers that must be included when creating a new Spatial Studio WMS dataset.

Prior to creating a WMS connection, if the Spatial Studio server is running behind a fire wall, then you must configure the Web Proxy using the General panel in the Administration page. This is to enable Spatial Studio to access the WMS server (which can either be running on the same data center or remotely) from the server side.

You can perform the following steps to create an OGC WMS connection:

  1. Navigate to the Connections page.
  2. Click Create Connection.
    The Create Connection dialog opens as shown in Figure 3-32.
  3. Select OGC Web Map Service as the connection type and click Next.

    The Create Connection dialog open as shown:

    Figure 3-35 Creating an OGC WMS Connection

    Description of Figure 3-35 follows
    Description of "Figure 3-35 Creating an OGC WMS Connection"
  4. Enter the connection Name.
  5. Optionally, enter a Description.
  6. Enter the WMS URL to connect to the WMS service.
    Also, note the following:
    • Ensure that the WMS URL is added to the Safe Domains list.
    • You can use one of the following two formats for the WMS URL:
      • A complete GetCapabilities request, including the version of the WMS specification (1.3.0 is recommended). For instance:

        https://nowcoast.noaa.gov/geoserver/observations/weather_radar/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

      • The base URL of the WMS server. For instance:

        https://nowcoast.noaa.gov/geoserver/observations/weather_radar/ows

  7. Optionally, select the WMS VERSION.
  8. Click OK.
    The OGC WMS connection gets created. This wms type connection is displayed on the Connections page.

    Also, the new WMS connection stores the names of all the available map layers (hosted by the WMS service) and a host of other information based on the GetCapabilities response as a part of its metadata.

  9. Right-click on the newly created connection, select Test connection, and verify that the connection tests successfully.