Adding an Image Mosaic to GeoServerΒΆ

This section covers the task of adding and publishing an ImageMosaic file with GeoServer.

  1. Navigate to the GeoServer Welcome Page.

  2. On the Welcome page locate the Login form located at the top right corner, and enter the username admin and password Geos.

    ../_images/vector1.png

    GeoServer Login

  3. Click the Add stores link.

    ../_images/vector2.png

    Add stores link

  4. Select the ImageMosaic link and click it.

    ../_images/raster1.png

    Add a new Image Mosaic

  5. On the Add Raster Data Source page enter : “boulder_bg” in the Data Source Name and Description fields, file:${TRAINING_ROOT}/data/user_data/aerial (on Windows %TRAINING_ROOT%\data\user_data\aerial\) in the URL field (or browse the filesystem clicking on Browse), and click Save.

    ../_images/raster2.png

    Specifying store parameters

  6. After saving, you will be taken to a page that lists all the layers in the store and gives you the option to publish any of them. Click Publish.

    ../_images/raster3.png

    Publishing a layer from the store

  7. The Coordinate Reference Systems should be automatically populated, as well as the Name, Title and Bounding Boxes fields.

    Note

    Change the Name and Title into boulder_bg as shown in the figure.

    The CRS and BBox fields are auto-filled with information taken from the underlying files. The coverage options section is filled with default parameters (which will be discussed later on in the training).

    ../_images/raster5.png
    ../_images/raster5b.png

    The coverage layer gui for the boulder_bg layer.

    ../_images/raster5bis.png

    The coverage bands details

  8. Scroll to the bottom of the page and then click Save. If all went well you should see something like this:

    ../_images/raster6.png

    After a successful save.

  9. In the Layer Preview section click on the OpenLayers link to preview the layer in an interactive viewer, filtering by boulder_bg name:

    ../_images/raster7.png

    Mosaic preview.