Publish, mosaic, and cache raster data efficiently in GeoServer, leveraging coverage stores, image mosaics, GeoWebCache, and WMTS for high-performance raster services.
Raster data powers many geospatial applications, from satellite imagery to digital elevation models. This module focuses on how GeoServer publishes and optimizes raster data through coverage stores, image mosaics, and tile caching. Learners will explore the internal handling of GeoTIFF and other raster formats, the construction of multi-temporal image mosaics, and the configuration of GeoWebCache and WMTS to deliver performant, scalable map tiles.
Performance tuning is a central theme: correct configuration of caching, tile grids, and mosaics can transform a slow raster service into a responsive, production-grade one.
A coverage store connects GeoServer to a raster data source. Coverage stores support many formats, with GeoTIFF being the most common. Once a store is created, individual raster resources are published as coverage layers.
# Example: publishing a GeoTIFF via the admin UI
Workspace: env-utilities
Store type: GeoTIFF
Coverage: elevation_2026.tif
Declared CRS: EPSG:4326
An image mosaic combines multiple raster images into a single logical layer. This is essential for time-series imagery, large-area coverage, and datasets split across tiles or scenes.
| Mosaic Feature | Benefit | Typical Use |
|---|---|---|
| Granule indexing | Efficient spatial lookup | Large-area satellite imagery |
| Time dimension | Temporal queries | Time-series analysis |
| Multiband support | Color and analysis bands | RGB/NIR composites |
GeoWebCache is GeoServer's built-in tile caching system. It stores pre-rendered tiles so repeated requests can be served quickly without reprocessing the source data.
# Example: seeding a layer via REST API
POST /geoserver/gwc/rest/seed/workspace:layer
Content-Type: application/json
{
"seedRequest": {
"name": "workspace:layer",
"gridSetId": "EPSG:900913",
"zoomStart": 0,
"zoomStop": 10,
"type": "seed"
}
}
Web Map Tile Service (WMTS) is an OGC standard for serving pre-rendered map tiles. It uses tile grids that define resolutions and tile matrices for each zoom level.
| Grid Set | CRS | Typical Use |
|---|---|---|
| EPSG:900913 | Web Mercator | Web maps and slippy maps |
| EPSG:4326 | WGS 84 | Geographic tiling |
| GlobalCRS84Scale | WGS 84 | Scale-based tiling |
Raster performance depends on many factors, including data size, compression, overviews, and caching. The following techniques improve responsiveness:
Common raster issues include misaligned tiles, blank output, and stale caches. Systematic diagnosis using logs and preview tools resolves most problems quickly.
In this lab, you will build a time-series image mosaic from multiple GeoTIFFs, publish it as a WMTS layer, and configure GeoWebCache for efficient tiled access.
ImageMosaic in a workspace.TIME= parameter.EPSG:900913 grid set.| Criteria | Weight |
|---|---|
| Coverage store and raster publishing correctness | 20% |
| Image mosaic construction and granule indexing | 25% |
| GeoWebCache configuration and seeding | 20% |
| WMTS setup and grid set selection | 20% |
| Performance and cache management | 15% |
Pass mark for this module: 70%