WebMapTileService (WMTS) - v1.4
Introduction
The WebMapTileService (WMTS) allows users to display Vexcel’s Ortho imagery from multiple layers in third party applications such as ArcGIS, QGIS, Global Mapper, etc. This service is based on the WMTS protocol as developed and documented by the Open Geospatial Consortium (link in External Resources).
This service is similar to the GetOrthoImageTile service. While both return tiled imagery, WebMapTileService uses the standardized parameters (defined by the Open Geospatial Consortium) while GetOrthoImageTile uses custom parameters specific to Vexcel’s imagery.
Technical Details
The WebMapTileService is comprised of two operations:
GetCapabilities - Returns an XML document that outlines the available resources and requirements of the WMTS service.
GetTile - Returns individual imagery tiles that conform to the WMTS specifications.
Each tile contains the header object cache-control: max-age
, set to 21515 seconds or roughly 6 hours. max-age
can be used by the end client to reduce the number of times the same tile is downloaded within a single user session.
GetCapabilities Output Specifications:
xml file
service description
available layers
image/metadata formats
matrix sets (EPSG codes)
etc.
GetTile Output Specifications:
256x256 pixel tiles
24-bit depth
Variable resolution (layer dependent)
Image format: JPEG or PNG
Output format: Single image file
GetCapabilities
GetCapabilities Base URL:
This service will answer to requests on following URLs:
Ordered as http REST parameters (mandatory parameters only):
https://api.gic.org/wmts?token={token}
Base URL with parameters defined as Key Value Pairs
https://api.gic.org/wmts?request={request}&token={token}
GetCapabilities Parameters:
Parameter | Parameter Type | Data Type | Description | Example Format | Notes |
---|---|---|---|---|---|
Mandatory: | |||||
| Key Value Pair | string | The token used to authenticate the requests. |
| Use the Authentication Token Service to receive a token. |
Optional: |
|
| |||
| Ordered REST (1st) - or - Key Value Pair (KVP) | string | The type of request. To return | Ordered REST: KVP: | |
| Key Value Pair | string | Despite being a WMTS requirement, this parameter is ignored by Vexcel’s API. |
|
GetCapabilities Example:
https://api.gic.org/wmts?request=GetCapabilities&token={token}
Success
An XML document with the service description, available layers, formats, styles, matrix sets, etc. Sample XML Snippet:
<?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"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0"
xmlns:inspire_vs="http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0"
version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/wmts/1.0
http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd
http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0
http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0/inspire_vs_ows_11.xsd">
<ows:ServiceIdentification>
<ows:Title>Vexcel Group WMTS</ows:Title>
<ows:Abstract></ows:Abstract>
<ows:Keywords>
<ows:Keyword>Vexcel Group</ows:Keyword>
<ows:Keyword>WMTS Service</ows:Keyword>
</ows:Keywords>
<ows:ServiceType>OGC WMTS</ows:ServiceType>
.
.
.
Error
A JSON with the error code and message.
GetTile
GetTile Base URL:
This service will answer to requests on following URL:
https://api.gic.org/wmts/GetTile/{layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/{format}&token={token}
GetTile Parameters:
Parameter (alias) | Parameter Type | Data Type | Description | Format | Notes |
---|---|---|---|---|---|
Mandatory: | |||||
| Ordered REST (1st) or Key Value Pair | string | The type of request. The parameter definition must be |
or
|
|
| Ordered REST (2nd) or Key Value Pair | string | The identifier of the image request's layer. It must be one of the layers defined in the |
or
|
|
| Ordered REST (3rd) or Key Value Pair | string | The identifier of the image request's style. It must be one of the available styles defined in the |
or
|
|
| Ordered REST (4th) or Key Value Pair | string | The identifier of the image's tile matrix set. It must be one of the available tile matrix sets defined in the |
or
| |
| Ordered REST (5th) or Key Value Pair | Integer | The identifier of the image's tile matrix. It must be one of the available tile matrices defined in the |
or
| |
| Ordered REST (6th) or Key Value Pair | Integer | The number of the image's row (y-axis). |
or
| |
| Ordered REST (7th) or Key Value Pair | Integer | The number of the image's column (x-axis). |
or
| |
| Key Value Pair | string | The format in which the image will be returned. It must be one of the available formats defined in the |
| |
| Key Value Pair | string | The token used to authenticate the requests. |
|
GetTile Example - Omaha Zoo, Omaha, Nebraska - Demonstrating all parameters:
https://api.gic.org/wmts/GetTile/bluesky-ultra-g/default/EPSG_3857/16/24516/15304?format=jpeg&token={token}
Success
vError
If
format=image/jpeg
: blank tileIf
format=image/png
: transparent tile
External Resources
Open Geospatial Consortium WMTS Implementation Standards: Web Map Tile Service - Open Geospatial Consortium
Web Map Tile Service on Wikipedia: Web Map Tile Service
Need help? Create a support ticket | support@vexcelgroup.com