WMTS
  • 10 Oct 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

WMTS

  • Dark
    Light
  • PDF

Article Summary

WMTS Integration

Due to the difference of mechanisms between WMS and WMTS, WMTS (Web Map Tile Server) integration provides users low-latency map rendering.

To consume MetroMap imagery via WMTS, you need to sign up for a subscription plan which includes our API service (Enterprise or Partner). An API key can then be requested from MetroMap Support.

For more subscription information, please refer to the MetroMap Plans page.



WMTS Requests

Below are our standard OGC WMTS URLs that will work in most applications, some applications may require a different syntax, or work best with our Tile API

GDA94 Service

https://api.metromap.com.au/ogc/key/{YOUR_API_KEY}/service?REQUEST=GetCapabilities&SERVICE=WMTS
Click to see previous version
ServiceRequirementService Endpoint
Capabilities URLAPI keyhttps://api.metromap.com.au/metromapkey/wmts?key={YOUR_API_KEY}&SERVICE=WMTS&REQUEST=GetCapabilities
User name
&
Password
https://tiles.metromap.com.au/wmts?service=WMTS&request=getcapabilities
Tile URLAPI keyhttps://api.metromap.com.au/metromapkey/{YOUR_API_KEY}/wmts/{Map_Title}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.{IMAGE_FORMAT}
API keyhttps://api.metromap.com.au/metromapkey/wmts?key={api-key}&SERVICE=WMTS&REQUEST={request}&LAYER={layer}&FORMAT={format}&TileMatrixSet={tilematrixset}&TileMatrix={tilematrix}&TileRow={row}&TileCol={col}
 

GDA2020 Service

https://api.metromap.com.au/ogc/gda2020/key/{YOUR_API_KEY}/service?REQUEST=GetCapabilities&SERVICE=WMTS



KVP (key-value-pairs) encoding

  • capabilities document

/ogc/key/{API-KEY}/service?REQUEST=GetCapabilities&SERVICE=WMTS

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/service?REQUEST=GetCapabilities&SERVICE=WMTS
  • get tiles
    /ogc/key/{API-KEY}/service?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER={LAYER}&STYLE=default&FORMAT=image/png&TILEMATRIXSET=webmercator&TILEMATRIX={ZOOM LEVEL}&TILEROW={Y}&TILECOL={X}

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/service?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=Australia_latest&STYLE=default&FORMAT=image/png&TILEMATRIXSET=webmercator&TILEMATRIX=18&TILEROW=160562&TILECOL=235653



RESTful (Representational state transfer) encoding

  • capabilities document
    /ogc/key/{API-KEY}/wmts/1.0.0/WMTSCapabilities.xml

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/wmts/1.0.0/WMTSCapabilities.xml
  • get tiles
    /ogc/key/{API-KEY}/wmts/{LAYER}/webmercator/{ZOOM LEVEL}/{X}/{Y}.png

Example:

https://api.metromap.com.au/ogc/key/abcb7243-79d2-4411-a512-ee80c523adf6/wmts/Australia_latest/webmercator/18/235667/160576.png

Was this article helpful?

What's Next