wmts_capabilities
画像出力 (WMTS) GetCapabilities (REST方式)
OGCのWeb Map Tile Service(WMTS)互換の地図タイルについて、レイヤー、スケール等のサービスメタデータ取得をREST方式で行います。
出力方式はOGC仕様のXML定義に準じます。
HTTP request method
POST/GET
ContentType
application/x-www-form-urlencoded
Parameters
| 名前 | 説明 |
|---|---|
| acceptFormats string default xml |
GetCapabilitiesの出力フォーマットを指定
|
Responses
エラーについては「エラーメッセージ一覧」を参照してください。
Media type:application/xml
Media type:application/json
| キー名 | 説明 | ||||
|---|---|---|---|---|---|
|
|
|
| レイヤー情報 | ||
| Identifier string |
識別子 | ||||
| Title string |
タイトル | ||||
|
| スタイル情報 | ||||
| Identifier string |
識別子 | ||||
| isDefault boolean |
|||||
| Format string |
出力フォーマット | ||||
|
| TileMatrixSet 情報 | ||||
| TileMatrixSet string |
TileMatrixSet URI | ||||
|
|
タイルのURL | ||||
| format string |
タイルの画像フォーマット | ||||
| resourceType string |
タイルのリソースタイプ | ||||
| template string |
タイルのURL template | ||||
|
|
TileMatrixSet 情報 | ||||
| Identifier string |
識別子 | ||||
| SupportedCRS string |
CRS | ||||
|
|
TileMatrix 情報 | ||||
| Identifier string |
識別子 | ||||
| ScaleDenominator number |
スケール情報 | ||||
| TopLeftCorner string |
基準座標 | ||||
| TileWidth integer |
タイルサイズ幅 | ||||
| TileHeight integer |
タイルサイズ高さ | ||||
| MatrixWidth integer |
タイル数(横) | ||||
| MatrixHeight integer |
タイル数(縦) | ||||
Example
https://[domain]/map/wmts_capabilities/1.0.0/WMTSCapabilities.xml?
<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" version="1.0.0">
<Contents>
<Layer>
<ows:Identifier>********</ows:Identifier>
<ows:Title>〇〇デザイン</ows:Title>
<Style isDefault="true">
<ows:Identifier>default</ows:Identifier>
</Style>
<Format>image/png</Format>
<TileMatrixSetLink>
<TileMatrixSet>Z3857_3_21</TileMatrixSet>
</TileMatrixSetLink>
<ResourceURL format="image/png" resourceType="tile" template="https://[domain]/api/wmts_tile/********/default/Z3857_3_21/{TileMatrix}/{TileRow}/{TileCol}.png">
</ResourceURL>
</Layer>
・・・
<TileMatrixSet>
<ows:Identifier>Z3857_3_21</ows:Identifier>
<ows:SupportedCRS>urn:ogc:def:crs:EPSG:6.18:3:3857</ows:SupportedCRS>
<TileMatrix>
<ows:Identifier>3</ows:Identifier>
<ScaleDenominator>69885283.0358972</ScaleDenominator>
<TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>8</MatrixWidth>
<MatrixHeight>8</MatrixHeight>
</TileMatrix>
・・・
</TileMatrixSet>
</Contents>
</Capabilities>