22
Copyright © 2013 Open Geospatial Consortium.
xmlns:ows=http:www.opengis.netows1.1 xmlns:xlink=http:www.w3.org1999xlink
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.opengis.netwmts1.0get_tiles
..\wmtsGetTiles_response.xsd http:www.opengis.netows1.1
......ows1.1.0owsAll.xsd tile
ows:Identifier200m_1_0ows:Identifier fileURL
xlink:href=http:www.opengis.uab.esSITiledICCTopo250k_Vers5_ ICCdefaultCat_topo250k_v5_EPSG23031200m10.jpg
TileMatrix200mTileMatrix tileRow1tileRow
tileCol0tileCol width640width
height480height top-185top
left-485left tile
tile ows:Identifier200m_1_1ows:Identifier
fileURL xlink:href=http:www.opengis.uab.esSITiledICCTopo250k_Vers5_
ICCdefaultCat_topo250k_v5_EPSG23031200m11.jpg TileMatrix200mTileMatrix
tileRow1tileRow tileCol1tileCol
width640width height480height
top-185top left155left
tile tile
ows:Identifier200m_2_0ows:Identifier fileURL
xlink:href=http:www.opengis.uab.esSITiledICCTopo250k_Vers5_ ICCdefaultCat_topo250k_v5_EPSG23031200m20.jpg
TileMatrix200mTileMatrix tileRow2tileRow
tileCol0tileCol width640width
height480height top295top
left-485left tile
tile ows:Identifier200m_2_1ows:Identifier
Copyright © 2013 Open Geospatial Consortium.
23
fileURL xlink:href=http:www.opengis.uab.esSITiledICCTopo250k_Vers5_
ICCdefaultCat_topo250k_v5_EPSG23031200m21.jpg TileMatrix200mTileMatrix
tileRow2tileRow tileCol1tileCol
width640width height480height
top-295top left-155left
tile TileCollection
This response is linking to 4 WMTS tiles that are deliberately not square and in a rare tiling size 640x480, with the origin at 258007, 4751992 and 200m of pixel size, which
covers the requested Bounding Box 355000,4619000 x 475000,4539000:
258007, 4655992 x 386007, 4559992 386007, 4655992 x 514007, 4559992
258007, 4559992 x 386007, 4463992 386007, 4559992 x 514007, 4463992
24
Copyright © 2013 Open Geospatial Consortium.
7.1.6 GetTiles KVP embedded request example
http:www.opengis.uab.escgi- binICCTiledMiraMon.cgi?SERVICE=WMTSVERSION=1.0.0
REQUEST=GetTilesLayer=Topo250k_Vers5_ICC
Style=
TileMatrixSet=Cat_topo250k_v5_EPSG23031TileMatrix=200m BBox=355000,4539000,475000,4619000Width=600Height=400
Format=imagejpegCollectionFormat=MultipartRelated inclusion=linked
7.1.7 GetTiles embedded response example
A GetTiles operation response for the GetTiles request example in subclause 7.1.6 will be the following MIME Multipart document fragment contents of the tile parts are omitted:
Content-Type: MultipartRelated; boundary= wmts
; start=TileCollection-Part
type=applicationxml --wmts
Content-Type: applicationxml ?xml version=1.0 encoding=UTF-8?
TileCollection
xmlns=http:www.opengis.netwmts1.0get_tiles xmlns:wmts_gt=http:www.opengis.netwmts1.0get_tiles
xmlns:ows=http:www.opengis.netows1.1 xmlns:xlink=http:www.w3.org1999xlink
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.opengis.netwmts1.0get_tiles
..\wmtsGetTiles_response.xsd http:www.opengis.netows1.1
http:www.opengis.netows1.1.0owsAll.xsd tile
ows:Identifier200m_1_0ows:Identifier fileURL xlink:href=
cid:200m_1_0.jpg TileMatrix200mTileMatrix
tileRow1tileRow tileCol0tileCol
width640width height480height
top-185top left-485left
tile tile
ows:Identifier200m_1_1ows:Identifier fileURL xlink:href=
cid:200m_1_1.jpg TileMatrix200mTileMatrix
tileRow1tileRow
Copyright © 2013 Open Geospatial Consortium.
25
tileCol1tileCol width640width
height480height top-185top
left155left tile
tile ows:Identifier200m_2_0ows:Identifier
fileURL xlink:href= cid:200m_2_0.jpg
TileMatrix200mTileMatrix tileRow2tileRow
tileCol0tileCol width640width
height480height top295top
left-485left tile
tile ows:Identifier200m_2_1ows:Identifier
fileURL xlink:href= cid:200m_2_1.jpg
TileMatrix200mTileMatrix tileRow2tileRow
tileCol1tileCol width640width
height480height top-295top
left-155left tile
TileCollection --wmts
Content-Type: imagejpeg Content-Description: tile imatge
Content-Transfer-Encoding: binary Content-ID:
200m_1_0.jpg Content-Disposition: inline
... --wmts
Content-Type: imagejpeg Content-Description: tile imatge
Content-Transfer-Encoding: binary Content-ID:
200m_1_1.jpg Content-Disposition: inline
... --wmts
Content-Type: imagejpeg Content-Description: tile imatge
Content-Transfer-Encoding: binary Content-ID:
200m_2_0.jpg Content-Disposition: inline