ESRI ArcGIS Pro
Accessing OS Vector Tile API via ESRI ArcGIS Pro
ESRI ArcGIS Pro is a desktop geographic information system (GIS) application that allows users to maintain, visualise and analyse spatial data.
The instructions that follow demonstrate how to connect to OS Vector Tile API using ESRI ArcGIS Pro.
What you need
OS Vector Tile API added to an API project in the OS Data Hub with an API Key; see Getting started with an API project for more information
ESRI ArcGIS Pro (version 3.0 or later)
Connecting to the API
Set up a connection
Once a new project with a new map has been set up, select Map > Add Data > _From Path.

Add an API URL and set up custom parameters
In the Add Data From Path dialog:
Path: Enter the URL for OS Vector Tile API, excluding the API Key. For example, https://api.os.uk/maps/vector/v1/vts.
Service type: Select _Vector Tile Service

Select Custom request parameters and enter the following:
srs
The required coordinate reference system – 27700 or 3857
key
[Insert your OS API Key here]
Click Add.

_The layer will then display in the Contents panel and the data will display on the map:

Add a custom style
Find a style
Once you have an existing OS Vector Tile API connection, go to the OS-Vector-Tile-API Stylesheets Repo in GitHub and select the required style file.
Get a Style URL
With the custom stylesheet file open:
Click Raw (a new window will open).
Copy the URL to link to the style JSON file.

Set up a Style URL connection
In ESRI ArcGIS Pro, follow steps 1 and 2 from the Connecting to the API section to set up a connection to the OS Vector Tile API using the custom style URL in the path field.

Publishing a custom base map to ESRI ArcGIS Online
Share Web Map
Once a connection to the OS Vector Tile API has been set up and you've signed into your ArcGIS Online account within ArcPro, select Share > _Web Map.

In the Share As Web Map panel:
Complete the relevant details.
Click Share.
View in ESRI ArcGIS Online
Once the web map has been successfully shared, this will be available in your ArcGIS Online account under My content:

Add a custom base map
Open the OS Vector Tile API web map in the map viewer and select _Layers.
Click on the '…' button for the Vector Tile Layer.
Select _Move to basemap.

Last updated
Was this helpful?