Book Image

GeoServer Cookbook

By : Stefano Iacovella
Book Image

GeoServer Cookbook

By: Stefano Iacovella

Overview of this book

Table of Contents (17 chapters)
GeoServer Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Managing layers with the GWC REST API


You were already in contact with cached layers in Chapter 5, Advanced Configurations. You had a quick tour of GeoWebCache (http://geowebcache.org/), which is a Java open source project. Like any caching system, it acts as a proxy between the clients and the map server. There is a standalone version that works with any map server being compliant with the WMS standard.

Indeed, GeoWebCache uses the WMS syntax to retrieve tiles from the map server. It exposes the tiles in several ways, with the GeoServer integrated version you can use:

  • Web Map Service (WMS)

  • WMS Tiling Client Recommendation (WMS-C)

  • Web Map Tiling Service (WMTS)

  • Tile Map Service (TMS)

You used the integrated version of GeoWebCache and it is a good choice as there are many advantages in using the internal one. You can use a single interface to administer both GeoServer and GeoWebCache, and you don't have to use a custom URL or a special endpoint. Also, all the layers you publish on GeoServer...