# MapInfo Pro

MapInfo Pro is a desktop geographic information system (GIS) application that allows you to visualize, analyse, edit, interpret and output geospatial data.

These instructions demonstrate how to integrate and apply the OS Maps API into MapInfo.

## What you need

* OS Maps API added to an API project in the OS Data Hub with an API Key; see [getting-started-with-an-api-project](https://docs.os.uk/os-apis/core-concepts/getting-started-with-an-api-project "mention") for more information
* MapInfo Professional (version 2019 or later)

{% hint style="info" %}
**Note**: We used MapInfo Pro 2019 (64-bit) to create these instructions.
{% endhint %}

## Instructions

{% stepper %}
{% step %}
**Set up a connection**

Once a new project with an empty workspace visible, select *Home* > *Open* > \_Web Services > Mapping (WMTS).

<figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-4a0a662f13719c0ce1e36057a4ed06d8cd6f5420%2FMaps-MapInfo-3.png?alt=media" alt="MapInfo Pro UI showing Mapping (WMTS) web service option"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Add an API**

In the WMTS Table Dialog:

* Click \_Servers…
* Click \_Add

In the WMTS Server Information dialog:

* **Server URL**: Copy your OS Maps API WMTS endpoint address (including your key) from the OS Data Hub and paste it into this field.
* **Description**: Optionally, add a description. This will help to identify the connection in the future.
* **Other fields**: Leave the other fields blank or at their defaults.
* Click \_OK.

<figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-0420df517811d15fc36a6eadcec867639c65d391%2FMaps-MapInfo-2.png?alt=media" alt="MapInfo Pro WMTS Server Information dialog"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Adding layers to the map**

* In the WMTS Servers List dialog, select your new connection and then click *OK*.
* In the WMTS Table dialog:
  * **Server URL**: This field will now display the OS Maps API service URL.
  * **WMTS Layers**: Select your preferred map style from the list of available options.
  * **Other fields**: Leave all others options blank or as default.
* Click \_OK.

<figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-f004d65c33877a9a6bb6a63322de1833c54d3d4d%2FMaps-MapInfo-1.png?alt=media" alt="MapInfo Pro WMTS Layers field in the WMTS Table dialog"><figcaption></figcaption></figure>

\_The layer will then display in the map area.

<figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-e6ae58495497d4db82d96e9e028f263a80f6c2ae%2FMaps-MapInfo-4.png?alt=media" alt="MapInfo Pro UI showing OS Maps API data in the map area"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.os.uk/os-apis/accessing-os-apis/os-maps-api/getting-started/mapinfo-pro.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
