---
title: "TMS"
slug: "tms"
updated: 2022-07-04T05:15:26Z
published: 2022-07-04T05:15:26Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metromap.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# TMS

## 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&amp;layer={LAYER}&amp;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
```
