Tile Matrix Setsspecstableimplmature
Provides definitions of the Tile Matrix Sets used in the API.
Scope
This building block provides information about the tiling schemes supported by the API.
Currently this building block does not need to be configured. The configuration is derived from the configuration of the tile providers used in the TILES building block.
The following preconfigured tiling schemes are available:
- WebMercatorQuad
- WorldCRS84Quad
- WorldMercatorWGS84Quad
- AdV_25832 (AdV tiling scheme using ETRS89/UTM32N covering Germany)
- EU_25832 (Tiling scheme using ETRS89/UTM32N covering Europe)
- gdi_de_25832 (GDI-DE tiling scheme using ETRS89/UTM32N covering Germany)
Conformance Classes
This building block implements the conformance classes "TileMatrixSet", and "JSONTileMatrixSet" of the OGC Two Dimensional Tile Matrix Set and Tile Set Metadata 2.0 Standard.
Operations
Resource | Path | Methods | Media Types | Description |
---|---|---|---|---|
Tile Matrix Sets | tileMatrixSets | GET | HTML, JSON | Returns the list of tiling schemes. |
Tile Matrix Set | tileMatrixSets/{tileMatrixSetId} | GET | HTML, JSON | Returns the definition of a tiling scheme. |
Path Parameters
Name | Resources | Description |
---|---|---|
tileMatrixSetId | Tile Matrix Set | The identifier of the tiling scheme. |
Query Parameters
Name | Resources | Description |
---|---|---|
f | TileMatrixSets, TileMatrixSet | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the "Accept" header will be used to determine the format. |
Configuration
Custom Tiling Schemes
Additional tiling schemes can be configured as JSON files according to the OGC Two Dimensional Tile Matrix Set and Tile Set Metadata 2.0 Standard in the data directory at api-resources/tile-matrix-sets/{tileMatrixSetId}.json
.
Options
Name | Default | Description | Type | Since |
---|---|---|---|---|
buildingBlock | Always TILE_MATRIX_SETS . | string | v3.1 | |
extensionType | Deprecated See buildingBlock . | string | v3.1 | |
caching | {} | Sets fixed values for HTTP Caching Headers for the resources. | object | v3.1 |
enabled | Tiles.enabled() | Enable the building block? | boolean | v3.1 |
includePredefined | [] | The list of pre-defined tile matrix sets that are included in the API. All tile matrix sets used by a tile provider of the API are automatically added to the list. | array | v3.1 |
Examples
The JSON representation of the pre-defined tiling schemes are available on GitHub.
This building block does not need to be configured and the configuration is derived from the configuration of the tile providers used in the TILES building block.
An explicit configuration for an API that provides tiles in three tiling schemas could be the following:
- buildingBlock: TILE_MATRIX_SETS
enabled: true
includePredefined:
- WebMercatorQuad
- WorldCRS84Quad
- WorldMercatorWGS84Quad