Creating a cascaded WMS connection

Now that we understand what service cascading is and some reasons why it might be useful to us, it is time to actually have a go at creating a cascaded service. For this example, we will set up a cascaded service to serve OpenStreetMap buildings to our clients.

Creating the data store

A cascaded WMS service is not really any different from other data sources that we might use with GeoServer. It still follows the same principle of having a data store connection and then publishing layers from the data store source. In this case, however, the data store is a connection to the external WMS server, and the layers we can publish are those advertised by WMS. Therefore, we must connect to the external WMS service in a ...

Get Mastering GeoServer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.