GetTile 操作需要以下的参数:
参数 |
是否必须 |
默认值 |
SERVICE |
是 |
WMTS |
REQUEST=GetTile |
是 |
|
VERSION |
是 |
1.0.0 |
LAYER |
是 |
|
STYLE |
是 |
|
FORMAT |
是 |
|
TILEMATRIXSET |
是 |
|
TILEMATRIX |
是 |
|
TILEROW |
是 |
|
TILECOL |
是 |
|
Sample dimensions 参数 |
以下是一个WMTS使用KVP格式的GetTile操作示例:
http://www.maps.bob/maps.cgi?
service=WMTS&
request=GetTile&
version=1.0.0&
layer=etopo2&
style=default&
format=image/png&
TileMatrixSet=WholeWorld_CRS_84&
TileMatrix=10m&
TileRow=1&
TileCol=3
以下是一个WMTS使用SOAP格式的GetTile操作示例:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<GetTile service="WMTS" version="1.0.0"
xmlns="http://www.opengis.net/wmts/1.0">
<Layer>etopo2Layer>
<Style>defaultStyle>
<Format>image/pngFormat>
<TileMatrixSet> WholeWorld_CRS_84TileMatrixSet>
<TileMatrix>10mTileMatrix>
<TileRow>1TileRow>
<TileCol>3TileCol>
GetTile>
soap:Body>
soap:Envelope>
以下是一个WMTS使用RESTful格式的GetTile操作示例:
http://www.maps.bob/etopo2/default/WholeWorld_CRS_84/10m/1/3.png