WMTS . WMS focuses on flexibility in the client request enabling clients to obtain exactly the final image they want.
WMTS - Introduction — OGC e-Learning 2.0.0 documentation https://opengeospatial.github.io/e-learning/wmts/text/main.html
WMTS - Introduction
Introduction
The OGC Web Map Tile Service Implementation Standard (WMTS) defines a set of interfaces for making web-based requests of map tiles of spatially referenced data using tile images with predefined content, extent, and resolution. The standard includes the WMTS Specification (“WMTS Spec”) 07-057r7 OpenGIS Web Map Tile Service Implementation Standard along with collateral documentation such as profiles and XML documents.
WMTS complements the OGC Web Map Service interface standard (WMS) for the web based distribution of cartographic maps. WMS focuses on flexibility in the client request enabling clients to obtain exactly the final image they want. While WMS focuses on rendering custom maps and is well-suited for dynamic data or custom styled maps, WMTS trades the flexibility of custom map rendering for the scalability made possible by serving static data (base maps) where the bounding box and scales have been constrained to discrete tiles. The fixed set of tiles allows for the implementation of a WMTS service using a web server that simply returns existing files. The fixed set of tiles also enables the use of standard network mechanisms for scalability such as distributed cache systems.
WMS servers can also be used as data sources or rendering engines for WMTS services. Similarly, the OGC Web Feature Service Interface Standard (WFS) is a better fit for extended query functionality of spatial data. It provides programmatic access to the geographic feature data. An organization publishing both WMS and WFS often use the same data source.
Overview of WMTS Operations
WMTS specifies several operation types, two of which are required in a compliant WMTS implementation, and another which is optional.
- GetCapabilities
-
The GetCapabilities response is characterized in a “ServiceMetadata” document, which describes how to identify WMTS resources or generate WMTS request operations. The primary content of the metadata is TileMatrixSet summary information and detailed content such as bounding box, supported coordinate reference system (CRS), whether a well-known scale set is available, and TileMatrix data about any of a number of levels. An optional “Themes” section, when present, obviates the need to specify any inheritance rules for layer properties. Under a resource-oriented architectural style, an appropriate resource name such as “WMTSCapabilities.xml” would be chosen.
- GetTile
-
The GetTile operation under a procedural-oriented architectural style allows WMTS clients to take the information from the GetCapabilities response to request a particular Tile of a particular TileMatrixSet in a predefined format. Under the resource-oriented style, the client merely requests the representation of any offered Tile resource by performing a request to the address following the standard semantics of the transport protocol.
- (Optional) GetFeatureInfo
-
GetFeatureInfo requests may be made about the features at or near a particular pixel location. Requests must specify the tile along with a pixel location on that tile, and the WMTS server may choose which information to provide about nearby features. WMTS Clause 7.3.1 recommends Level 0 of the Geography Markup Language (GML) Simple Features Profile as the supported document format for FeatureInfo resources.
Example GetTile Request
The GetTile
request queries the server with a set of parameters describing the map tile image. The values of these parameters are taken from a WMTS Capabilities document. A correctly formulated GetTile
request will create the image shown below.

The URL of this link is composed of the following parameters and values:
https://cite.deegree.org/deegree-webservices-3.5.0/services/wmts100?
SERVICE=WMTS&
REQUEST=GetTile&
VERSION=1.0.0&
LAYER=cite&
STYLE=default&
FORMAT=image/png&
TILEMATRIXSET=InspireCrs84Quad&
TILEMATRIX=11&
TILEROW=431&
TILECOL=2107
Client Usage
A client needs to know the web location of the WMTS service, typically called the service ‘endpoint’. The endpoint is the URL for the GetCapabilities request. For example, a typical URL might be composed of the following parameters and values:
https://cite.deegree.org/deegree-webservices-3.5.0/services/wmts100?
service=WMTS&
request=GetCapabilities
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
2021-12-20 分控板控制协议 Modbus 协议
2021-12-20 Go 连接池相关总结:HTTP、RPC、Redis 和数据库等
2021-12-20 单元化介绍
2021-12-20 领域驱动设计 贫血模型 VO、DTO、DO、PO 展示层 服务层 视图对象 视图对象 展示层 数据传输对象 领域对象 持久化对象 持久层 单一职责
2020-12-20 Building a high performance JSON parser
2020-12-20 阿姆达尔定律 Amdahl's law
2020-12-20 贝壳找房小程序平台架构演进