ESRI ArcGIS Online

Accessing OS NGD data with OS NGD API – Features via ESRI ArcGIS Online

ArcGIS Online is a web-based platform geographic information system (GIS). ArcGIS Online services are managed by Esri and accessed by a client running on a wide range of options.

The instructions that follow demonstrate how to connect to OS NGD API – Features using ESRI ArcGIS Online.

What you need

  • Access to the ESRI ArcGIS Online service.

  • A preloaded base map, for example, OS Maps API.

  • OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See Getting started with an API project for more information.

Instructions

1

Add a new layer

Once you've signed into your ESRI ArcGIS Online account and opened the map viewer. Zoom in to a small area to reduce the number of requests that are initially sent to the API.

  • Select Layers > Add > Add layer from URL.

ArcGIS Online Layers dialog.
ArcGIS Online Layers dialog.

2

Add an API and set up custom parameters

In the Add Layer dialog:

  • URL: Enter the base URL for OS NGD API – Features, excluding the API Key. For example, https://api.os.uk/features/ngd/ofa/v1.

  • Type: Select OGC feature layer.

  • Select Custom request parameters and enter the following:

    • Parameter: key

    • Value: [Insert your OS API Key here]

  • Click Next.

ESRI ArcGIS Pro Add OGC API Server Connection dialog with URL and custom request parameters set.
ESRI ArcGIS Pro Add OGC API Server Connection dialog with URL and custom request parameters set.

3

Adding layers to the map

In the Add Layer dialog:

  • To add a layer to the map: Select a layer to add to the map and then click Add to map.

ArcGIS Online Add Layers dialog: Select a layer to add field.
ArcGIS Online Add Layers dialog: Select a layer to add field.

The layer will then display in the Layers panel and the data will display on the map:

ArcGIS Online UI showing OS NGD API – Features data in the map area.
ArcGIS Online UI showing OS NGD API – Features data in the map area.

Features will automatically refresh when you zoom or pan on the map. If you wish to add multiple layers to the same map, repeat steps 2 and 3.

Last updated

Was this helpful?