# 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 Features API into MapInfo in order to produce a series of topography layers based on our latest OS MasterMap Topography layer data.

## What you need?

* MapInfo Pro 2021 or later
* A preloaded base map, for example, [os-maps-api](https://docs.os.uk/os-apis/accessing-os-apis/os-maps-api "mention")
* OS Features API URL and 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

## Instructions

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

1. Launch MapInfo Pro. Load a base map. \&#xNAN;*This helps you to navigate to features. We use OS Maps API as the base map. See the* OS Maps API [mapinfo-pro](https://docs.os.uk/os-apis/accessing-os-apis/os-maps-api/getting-started/mapinfo-pro "mention") getting started guide for instructions on how to load it into MapInfo Pro.
2. With OS Maps API loaded as the base map, zoom to an area of interest that you'd like to use.
3. Navigate to the *Home* tab and select the dropdown arrow under *Open* to reveal *Web Services*.
4. Select *Feature (WFS)* to open the *WFS Table* configuration dialog.
5. Click *Servers…* to open the WFS Servers List dialog and then click *Add…*
6. In the new WFS Server Information dialog:
   * **Server URL**: Insert the OS Features API URL. This URL includes your key from the OS Data Hub.
   * **Description**: This is an optional field. \&#xNAN;*A description may help with identification in the future.*
   * Click *OK*.

     <figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-2c3b7ae0cdff907fb50f4de4b5c646319ac8d1c1%2Fimage.png?alt=media" alt="MapInfo Pro WFS Server Information dialog"><figcaption></figcaption></figure>
7. In the WFS Servers List dialog, select the new connection you've just added and click *OK*.
8. In the WFS Table dialog, the OS Features API service and a list of vector feature layers will be available:

   <figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-7f63fa03bf873c951d5bb8c4f1f6c0e30201778d%2Fimage.png?alt=media" alt="MapInfo Pro WFS Table dialog showing available WFS Layers"><figcaption></figcaption></figure>
9. In the WFS Table dialog, select the vector feature layer that you require. Make sure the following settings are applied:
   * **Max. Features**: Not selected.
     * **Enable feature paging**: Selected. \&#xNAN;\_This checkbox is in the Paging section.
     * **Page size**: \_100
     * **Row Filter…** . \&#xNAN;\_Click this option to apply a filter to the vector layer. This is recommended to ensure you keep within the feature limit thresholds that are applied to the OS Features API.
       * In the Row Picker dialog, select filtering options in the Column, Operator and Value column dropdowns.

         Various filters that may be available (or suitable). At a minimum, we recommended you use the *SHAPE* column with the *BBOX* operator. This ensures features are returned only within the bounding box of the zoomed in base map (see step 2)
       * Click *OK*.

         <figure><img src="https://4043944746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoEzqrBzRGoJw7nQyLj1W%2Fuploads%2Fgit-blob-591806744825fb61ec0efdc9b15b03fa37846acf%2Fimage.png?alt=media" alt="MapInfo Pro WFS Table dialog showing Row Picker"><figcaption></figcaption></figure>
10. In the WFS Table dialog, click *OK* to add to the layer to the map.
11. The features should now be loaded as a separate layer on top of your base map.
