Working with JPEG 2000 (JP2K) data

Boundless Server supports data saved in JPEG 2000 format. This image format utilizes wavelet compression for more efficient storage.

This data can be loaded and published through GeoServer.

Installing JPEG 2000 support

JPEG 2000 support isn’t enabled by default, so it must be separately installed through an extension.

Installing support for this is the same as most Boundless Server Extensions.

Installation instructions are dependent on your operating system and method of install:

Note

The Boundless Server virtual machine has most extensions pre-installed.

Verifying installation

To verify that the extension has been installed properly:

  1. Log in to the GeoServer web interface.

  2. Click Stores then Add new store.

  3. In the list of Raster Data Stores, you should see an entry for JP2K (Direct).

    ../../_images/jp2k_storelink.png

    JPEG 2000 in the list of raster stores

    If you don’t see this entry, the extension did not install correctly.

For more information on adding a store and publishing layers, please see the GeoServer documentation for JPEG 2000.

Caveats

JPEG 2000 support is also available through the GDAL formats extension. Having both the JPEG 2000 (“Direct”) extension installed and GDAL JPEG 2000 support installed at the same time creates an issue with the GeoServer Importer extension, which is unable to determine which store to use. This is only an issue with Importer; stores can still be created through regular means (GeoServer UI or REST API).

That said, the GDAL version of JPEG 2000 has better performance from the standard (Java-based) extension.