TileJSON

PSGA Scotland Members: Please replace references on this page to the domain tile.viaeuropa.uk.com with tile.publicsectormapping.gov.scot

For any map layer supported as XYZ tiles in viaEuropa, you can request meta data in an extended version of the TileJSON v2.0.0 format. You must replace the parameters shown in {curly-brackets}.

The URL format for the request is as follows:
https://tile.viaeuropa.uk.com/{id}/{map}.json

where:
{id} is your viaEuropa ID
{map} is the ID of the required map layer. e.g. m0100 (see Reference/Map Inventory)

Both http and https are supported. The URLs presented in the response will use the same protocol as the TileJSON request.

For example:
http://tile.viaeuropa.uk.com/xxxxx-xxxxx-xxxxx-xxxxx/m0100.json
with a valid viaEuropa ID would produce the following result:

{
    "tilejson":"2.0.0",
    "name":"m0100 - Ordnance Survey GB premium stack (MM Topo)",
    "description":"A comprehensive stack of layers created from Ordnance Survey digital mapping, including OS OpenData, OS VectorMapLocal and OS MasterMap Topo.",
    "attribution":"© 2022 Europa Technologies Ltd. Contains Ordnance Survey data © Crown copyright and database right 2022",
    "type":"baselayer",
    "legend":"",
    "version":"2022.1.0",
    "format":"png",
    "minzoom":0,
    "maxzoom":15,
    "bounds":[0,0,700000,1300000],
    "center":[350000,500000,4],
    "tiles":
        [
        "https://a-tile.viaeuropa.uk.com/xxxxx-xxxxx-xxxxx-xxxxx/m0100/{z}/{x}/{y}.png",
        "https://b-tile.viaeuropa.uk.com/xxxxx-xxxxx-xxxxx-xxxxx/m0100/{z}/{x}/{y}.png",
        "https://c-tile.viaeuropa.uk.com/xxxxx-xxxxx-xxxxx-xxxxx/m0100/{z}/{x}/{y}.png",
        "https://d-tile.viaeuropa.uk.com/xxxxx-xxxxx-xxxxx-xxxxx/m0100/{z}/{x}/{y}.png"
        ],
    "scheme":"xyz",
    "epsg":"27700",
    "resolutions":[2800.0,1400.0,700.0,280.0,140.0,70.0,28.0,21.0,14.0,7.0,2.8,1.4,0.7,0.35,0.175,0.0875],
    "scales":[10000000.0,5000000.0,2500000.0,1000000.0,500000.0,250000.0,100000.0,75000.0,50000.0,25000.0,10000.0,5000.0,2500.0,1250.0,625.0,312.5],
    "preview":"https://tile.viaeuropa.uk.com/xxxxx-xxxxx-xxxxx-xxxxx/m0100.png"
}

The meta data provided over and above the TileJSON v2.0.0 standard includes:

  • epsg - The EPSG code for the projection of the map.
  • resolutions - An array containing the resolution for each zoom level supported
  • scales - An array containing the scale for each zoom level supported.
  • preview - The URL for a preview thumbnail image for the map layer.