This extension of clauses [tile_enc_png] and [tile_enc_jpeg] allows encoding of tile images in WebP format.
PNG and JPEG are the default MIME types for encoding images in tile pyramid user data tables.
This extension allows the use of image/x-webp
as an additional encoding type.
GeoPackage SWG, author_name gpkg
.
gpkg_webp
Extension of Existing Requirement in clauses [tile_enc_png] and [tile_enc_jpeg].
This extension applies to any table listed in the gpkg_contents
table with a data_type of tiles
.
Read-write
The "gpkg_webp" extension name SHALL be used as a gpkg_extensions table extension name column value to specify storage of tile pyramid images in WEBP format as specified in Tiles Encoding WebP.
A GeoPackage that contains tile pyramid user data tables with tile_data columns that contain images in WEBP format SHALL contain a gpkg_extensions table that contains row records with table_name values for each such table, "tile_data" column_name values and extension_name column values of "gpkg_webp".
A GeoPackage that contains a tile pyramid user data table that contains tile data MAY store tile_data in MIME type image/x-webp [22].
The MIME type of values of the tile_data
column in tile pyramid user data tables SHALL be image/x-webp
.
None
None
Test Case ID |
/reg_ext/tiles/tile_encoding_webp/data/webp_ext_name |
Test Purpose: |
Verify that the "gpkg_webp" extensions name is used to register WEBP tile encoding implementations. |
Test Method: |
|
Reference |
Annex F.7 Req 90 |
Test Type |
Basic |
Test Case ID |
/reg_ext/tiles/tile_encoding_webp/data/webp_ext_row |
Test Purpose: |
Verify that WEBP tile encodings are registered using the "gpkg_webp" extensions name. |
Test Method: |
/reg_ext/tiles/tile_encoding_webp/data/webp_ext_name |
Reference: |
Annex F.7 Req 91 |
Test Type |
Capability |
Test Case ID |
/reg_ext/tiles/tiles_encoding_webp/data/mime_type_webp |
Test Purpose |
Verify that a tile matrix user data table that conforms to this extension contains tile data of MIME type image/x-webp. |
Test Method |
|
Reference |
Annex F.7 Req 92 |
Test Type |
Capability |