Adding a (gpkg) Raster LayerΒΆ

In this section you will publish a GeoPackage raster layer in GeoServer.

  1. Open the GeoServer UI:

  2. From the Data > Stores page click the Add new Store button

  3. Select the GeoPackage format from the Raster section:

  4. Define the store properties:

    Data Source Name: gpkg-bmreduced

    Connection parameters: browse the filesystem to identify the GPKG database:

    cd ${TRAINING_ROOT}/data/user_data/countries.gpkg
    cd %TRAINING_ROOT%\data\user_data directory\countries.gpkg
  5. Click “Save”.

  6. Publish the layer:

  7. Click “Save”.

  8. Preview the layer: