Adding a PostGIS raster data source

In an earlier recipe, we served the raster data as a mosaic with pyramids. Another GeoServer extension offers the option to store all the tiles in an RDBMS. In this recipe, we will use PostgreSQL as a repository and will publish them on GeoServer.

How to do it…

  1. In order to enable GeoServer to access tiles stored in PostgreSQL, you need an extension. As usual, you need to visit the download page and download the zip archive. Visit the following URL:

  2. Get the archive by clicking on the JDBC Image Mosaic link in the Coverage Formats section.


    Be sure to download the matching version of the plugin. If you are not using the latest stable release, instead of the previous URL, use ...

Get GeoServer Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.