TMS
  • 04 Jul 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

TMS

  • Dark
    Light
  • PDF

Article summary

Tiled Map Service

A Tiled Map Service (TMS) is one of the spatial api standards that has been available for the longest period of time, it is currently superceded by WMTS, a Tile API and an XYZ API.

MetroMap continues to offer this service as some legacy applications require this integration, but it is not advised to implement this over a WMTS or XYZ API



TMS Integration

Compared with an XYZ service, a TMS counts tiles from bottom-left, while XYZ counts from top-left

Capabilities document

  • All layers

/ogc/key/{API-KEY}/tms/1.0.0/

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/tms/1.0.0/


  • A Single layer

/ogc/key/{LAYER}/demo/?tms_capabilities&layer={LAYER}&srs=webmercator

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/demo/?tms_capabilities&layer=ACT_2018_1_GM_JPEG&srs=webmercator


Get tiles
Please be aware that the order of z, x and y might be different from the XYZ service
/ogc/key/{API-KEY}/tms/1.0.0/{LAYER}/webmercator/{ZOOM LEVEL}/{x}/{y}.png

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/tms/1.0.0/Australia_latest/webmercator/9/906/407.png

What's Next