Jump to the following:

Ordnance Survey logo

Discover Ordnance Survey

Site Search

OS OnDemand Web Map Tile Service (WMTS-like)

OS OnDemand WMTS-like is not currently compliant with OGC standards.

To use OS OnDemand WMTS-like you will need:

  • Current GB coverage licences to use the products you wish to access;
  • Access only through an internet browser.

You should also have:

  • Notepad or another text file program (to edit and save code).
  • Created Javascript code to embed maps.
  • A licence to use the service.

We will send you an API key (a unique alphanumeric code) when you apply for a licence. You will need to include this code in your web application when using the API. If you want to add more URLs to your API key, please email osondemand@ordnancesurvey.co.uk and we will register the new URLs against your API key. If you wish to check which products or areas of products you hold for viewing under the service, please email us.

Although WMTS-like service can be accessed directly through OpenLayers, we cannot offer support for this access method. 

Mapping layers

The following mapping layers are available through OnDemand WMTS-like. In order to achieve a friendly zoomed in/out effect, each product type has a suitable resolution measured in meters per pixel at which it should be viewed in a web application.

Each product type (except Overview maps) has been provided at two zoom levels or resolutions. When a product is Resampled it is twice the original resolution. 'R' denotes a resampled product.

Product

Resolution

Index

Tile Size (px) Tile size (m)

OS VectorMap® Local

1

VML

250 250

OS VectorMap® Local Resampled 

2

VMLR

250 500

1:25 000 Scale Colour Raster

2.5

25K

200 500

1:25 000 Scale Colour Raster Resampled

4

25KR

250 1000

1:50 000 Scale Colour Raster

5 50K 200 1000

1:50 000 Scale Colour Raster Resampled 

10 50KR 200 2000

*GB Overview2

500 OV2    

*GB Overview+

1000 OV1 200 100000

*GB Overview

2500 OV0    
OS OpenData™ products        

OS Street View® (1:10 000 scale)

1 SV 250 250
OS Street View® (1:10 000 scale) Resampled 2 SVR 250 500

OS VectorMap® District

2.5

VMD

200 500

OS VectorMap® District Resampled 

4

VMDR

250 1000
1:250 000 Scale Colour Raster 25 250K 200 5000
1:250 000 Scale Colour Raster Resampled 50 250KR 200 10000

MiniScale®

100

MS

200 2000

MiniScale® Resampled 

200

MSR

200 4000
1:50 000 Scale Gazetteer   **    
Boundary-Line™   **    
Code-Point Open   **    

Zoom Map Stack

 

 

   

Generated from Strategi®

896

CS00

N/A N/A

Generated from Strategi®

448

CS01

N/A N/A

Generated from Strategi and Land-Form PANORAMA®

224

CS02

N/A N/A

Generated from Strategi and Land-Form PANORAMA®

112

CS03

N/A N/A

Generated from Strategi and Land-Form PANORAMA®

56

CS04

N/A N/A

Generated from Strategi and Land-Form PANORAMA®

28

CS05

N/A N/A

Generated from OS VectorMap® District & Strategi® & Land-Form PANORAMA®

14

CS06

N/A N/A

Generated from OS VectorMap® District & Strategi® & Land-Form PANORAMA®

7

CS07

N/A N/A

Generated from OS VectorMap® District & Strategi® & Land-Form PANORAMA®

3.5

CS08

N/A N/A

Generated from OS VectorMap® Local

1.75

CS09

N/A N/A

Generated from OS VectorMap® Local

0.875

CS10

N/A N/A

*These do not form part of the Ordnance Survey product portfolio but are used to provide context at very small scales. No licensing restrictions apply.

** Look ups

There are two options for viewing the map content as a standard set of files or as a consistent seamless zoom stack. If you wish to get access to the full zoom map stack you will need to be licensed for GB coverage of our OSVectorMap Local product. Once this has been arranged, the layers will be made available. You will automatically get access to layers CS00 to CS08.

When using a combination of layers from both the original and from the zoom map stack, you will need to include them in your code, ordered by resolution. This will ensure that mapping will be shown for all layers that have an overlapping resolution. See example below:

{products: ["OV0", "OV1", "OV2", "CS04", "250KR", "CS05", "250K", "VMDR", "VMD", "VMLR", "VML"]};

Due to the differences in the resolutions, you will not be able to use the zoom map stack and the Boundary-Line look-ups together for OS OnDemand WMTS-like. We are currently investigating this and hope to fix this bug in a future release.

Boundary look-ups

The link below details the resolutions for the boundary areas by area code:

https://openspace.ordnancesurvey.co.uk/openspaceforum/thread.jspa?threadID=257&tstart=0

Further details on boundary look-ups can be found on our web page working with Boundaries

Configuring OS OnDemand WMTS dataset request
We have provided a method to request products using Product Codes. Subject to licensing, your application can request additional datasets including 1:25k, Vector Map Local and the zoom map stack. Each mapping product has a unique product code (see above table for information).

If you used our Web Map Builder tool to create your code or are migrating from OS OpenSpace, you will need to replace or comment out this piece of code that provides the default products:

//osMap = new OpenSpace.Map('map');

and replace it with code that requests products by Product Code. Its important to insert a correct sequence of product codes i.e Insert small scale products first (most zoomed out). To use product codes correctly they need to be ordered according to resolution, so the resolution order (as represented by the product codes) must be in high to low order.

In the following example, Vector Map Local has been included:

       var options = {products: ["OV0", "OV1", "OV2", "MSR", "MS", "250KR", 
"250K", "50KR",  "50K", "VMDR", "VMD", "VMLR", "VML"]};
        osMap = new OpenSpace.Map('map',options);              

In the following example, 50k, Vector Map District and StreetView are shown:

 var options = {products: ["50KR", "50K", "VMDR", "VMD", "SVR", "SV"]};
osMap = new OpenSpace.Map('map',options);

For more technically related questions and code examples, please visit our Wiki.

Alternatively, visit the OS OnDemand Code Playground and explore how you can use your code with our code.
 

For general enquiries, complaints, feedback or suggestions, email: customerservices@ordnancesurvey.co.uk or call us on 08456 05 05 05