ArcGIS Online as the web-based map platform includes several base maps, analogous to the open-source map styles or XYZ tiles available in QGIS. Some of them aren’t useful concerning the level of detail, the others resemble just the OpenStreetMap base map. The OpenStreetMap features a large level of detail, but just in places as this mapping platform is self-contributed by all the users worldwide. It means, that some areas can be prepared well, but the other ones are not enough. How about the situation when we need to work with a more detailed map canvas? In any case, regardless of our platform or application, we can provide the custom map canvas based on the XYZ or WMTS layer. The same applies to the Ordnance Survey maps.
You need to open the Ordnance Survey Data portal and set up your account if you haven’t done it yet. You need to select the Premium account (Pic. 2). The Premium account allows you to use the OS Maps API credits for up to £1000 monthly. In the end, you will be asked about the account number, which can be skipped for now.
Once confirm your email and log in successfully again, you will see the following main page (Pic. 3).
At first, your API dashboard is empty, so probably your first step will be a new project creation (Pic. 4).
This is just setting a new project name and conforming it (Pic. 5).
If our project map isn’t valid or already exists, you will see the text information in red instead of green.
The situation becomes more complicated when we click Create Project. Ordnance Survey has a few of them, so you must know which one is relevant to our map. You must scroll down to the end and select the OS Maps API option. This API includes the WMTS layer for the high-detailed Ordnance Survey maps used i.e. by the City of London interactive maps. The details can be checked in the links available below. By clicking the Add to project button you will have your API project listed in the main panel. By clicking it, you can see the details as well as change its name when typed incorrectly (Pic. 7).
In your API project details are important to look at the Project API Key. It is needed for firing up the OS map layer in ArcGIS Online and other platforms I believe.
When you are on the ArcGIS Online map, dropdown the Add menu and select Add a layer from the URL (Pic. 8).
Next, you will see the box for pasting your URL and layer type selection, which are empty for now (Pic. 9).
The URL address can be obtained from the OS Data Hub page, where your Ordnance Survey API project appears. By scrolling down through its details, you will eventually see the WMTS address, which must be copied (Pic. 10).
You can simply hit the Copy button on the right and the whole link will be duplicated to your clipboard immediately (Pic. 11).
Next, paste the link into the place displayed in the Add Layer ArcGIS Online box (Pic. 9) and you should see the proposed default map layer type, which is WMTS (Pic. 12).
Instead of WMTS, you have other options GeoRSS, CSV, or TileLayer. None of them are useful for your purpose, therefore the default one (WMTS) must stay.
The next part of your settings are Custom parameters without which the map cannot be run. Important is the API key, which must be copied in the same way as the WMTS address earlier (Pic. 13).
Finally, our URL layer details should look like the below (Pic. 15), where
you have the full URL WMTS layer copied from the OS Data Hub portal (1). It includes several types of layers discussed earlier, but the default WMTS (2) must stay for our purpose. The map cannot be utilized without the custom parameter, which in our case is the Project API Key (key) (3) and its value (4). At the last, you need to decide about the way of layer usage. It can participate as the individual layer or be used as the basemap (5). I would advise you to use it as a basemap.
The last step is the selection of the map type. You might notice the CRS type next to it. There are 2 types of CRS available EPSG 27700 and EPSG 3857 (Pic. 16). You can make your selection based on your needs, although for UK-based projects it’s better to stick with EPSG 27700.
For your purpose probably the best will be the Road type, but there are others available too (Pic. 16).
Finally, the Ordnance Survey API base map appears in our map and it looks great concerning the level of detail (Pic. 17).
The best comparison to the level of detail can be made with the GB cartographic basemap, which resembles the Ordnance Survey map but is rather useless when single plots of land or streets are considered.
The Ordnance Survey layer can be taken down anytime (Pic. 18), but you can’t add it again from the list. All the steps shown in this text must be repeated, unfortunately.
Since you know how to use the Ordnance Survey maps in your ArcGIS Online project, you should understand how the OS Data Premium plan works. The £1000 monthly credit is displayed on the Dashboard (Pic. 19).
Moreover, the live API usage with the detailed breakdown can be found also in the My projects section (Pic.20).
The transactions are calculated as a whole, which means, that the £1000 value is a result of the sum of all project usage not only 1. The transaction is counted as the 1 view of the map with 15 raster tiles loaded.
Now, since you shared your bank account details with the creation of your account you will be charged whenever your credits exceed £1000 in the given month. In the other situation, when the OS Data Hub doesn’t know your bank account details, your API key becomes inactive when you run out of credits. It means, that Ordnance Survey maps turn into blurry/pixelated appearance and are useless for high zoom levels. Everything is nullified as the new month approaches.
The OS Data premium plan allows you to use the high-detailed Ordnance Survey maps not only in ArcGIS Online but also in other platforms or applications like QGIS.
Mariusz Krukar
Links: