Adding a WMS Cascade LayerΒΆ

WMS cascading allows to expose layers coming from other WMS servers as if they were local layers. This provides for some interesting advantages:

  • Clients connecting to your SDI need to care about less points of origin, which might be important for high security networks
  • It is now possible to ask for maps in formats not supported by the original server, or to reproject the maps in projections not supported by the original server (GeoServer supports out of the box almost 5000 different coordinate reference systems)
  • It is now possible to mix the layers with local ones to generate print oriented formats such as PDF
  • It is now possible to provide more informations about the layer, such as a better description, more keywords, which will benefit all clients, in particular catalogues harvesting informations from your capabilities document

Configuration

The configuration as usage of the cascaded layers follows GeoServer traditional ease of use.

  1. Open the web browser and navigate to the GeoServer Welcome Page.

  2. Select Add stores from the interface.

    ../_images/geotiff_addstores.png
  3. Select WMS - Cascades a remote Web Map Service from the set of available Other Data Sources.

    ../_images/wmscascade_sources.png
  4. Specify a proper name (as an instance, geoserver-demo) in the Data Source Name field of the interface.

  5. Specify https://gs-stable.geo-solutions.it/geoserver/ows?service=wms&version=1.1.1&request=GetCapabilities as the URL of the sample data in the Capabilities URL field.

    ../_images/wmscascade_store.png
  6. Click Save.

  7. Publish the layer by clicking on the publish link near the tiger-ny layer name. Notice that you can also add more layers later.

    ../_images/wmscascading_publish.png
  8. Check the Coordinate Reference Systems and the Bounding Boxes fields are properly set and click on Save.

    ../_images/wmscascade_bbox.png
  9. At this point the new WMS Layer is being published with GeoServer. You can use the layer preview to inspect the data.

    ../_images/wmscascading_preview.png