O'Reilly logo

GeoServer Cookbook by Stefano Iacovella

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

    http://geoserver.org/release/stable/

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

    Note

    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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required