# Getting started with attribute filtering

## Introducing attribute filtering

Attribute filtering is a new concept which we have introduced as part of OS Select+Build. The filters can help you to narrow down the exact data you need from the OS NGD. If required, you can add attribute filters to individual feature types when you create a new bespoke recipe of OS NGD data using OS Select+Build. The [managing OS Select+Build recipes page](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-recipes/managing-os-select+build-recipes) has step-by-step instructions on how to create a new recipe. You can also add, edit or remove attribute filters to / in / from feature types in an existing recipe of OS NGD data.

Attribute filtering is an optional step for those with advanced OS data knowledge.

{% hint style="success" %}
You can:

* Add attribute filters to feature types in a new recipe
* Add, edit or remove attribute filters to / in / from feature types in an existing recipe
  {% endhint %}

The following sub-sections cover:

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Adding filters to a new recipe</strong></td><td><a href="#how-do-i-add-attribute-filters-to-a-new-recipe">#how-do-i-add-attribute-filters-to-a-new-recipe</a></td></tr><tr><td><strong>Adding filters to an existing recipe</strong></td><td><a href="#how-do-i-add-attribute-filters-to-an-existing-recipe">#how-do-i-add-attribute-filters-to-an-existing-recipe</a></td></tr><tr><td><strong>Creating a simple filter (worked example)</strong></td><td><a href="#worked-example-of-creating-a-simple-filter">#worked-example-of-creating-a-simple-filter</a></td></tr><tr><td><strong>Creating a more complex nested filter (worked example)</strong></td><td><a href="#worked-example-of-creating-a-nested-filter">#worked-example-of-creating-a-nested-filter</a></td></tr><tr><td><strong>Checking if filters are used in an existing recipe</strong></td><td><a href="#how-do-i-check-if-filters-are-used-in-an-existing-recipe">#how-do-i-check-if-filters-are-used-in-an-existing-recipe</a></td></tr></tbody></table>

## :arrows\_clockwise: How do I add attribute filters to a new recipe?

{% embed url="<https://youtu.be/9IQzzDB2uO4?t=237>" %}
YouTube video showing how to create a recipe using OS Select+Build, add filters to the recipe, then create a data package to receive your OS NGD data. (Attribute filtering is discussed around four minutes into the video.)
{% endembed %}

To add attribute filters to a new recipe:&#x20;

{% stepper %}
{% step %}

#### Log into your [OS Data Hub](https://osdatahub.os.uk/) account

Click *Login* on the OS Data Hub menu bar to log into your account.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F1Gd3vBvSOqXLYTPpZsO9%2Fimage.png?alt=media&#x26;token=afd47dd4-6005-4d33-a8ef-ec6540a138fb" alt="A screenshot of the OS Data Hub home page showing the sign up and log in buttons in the top right hand corner" width="563"><figcaption><p>Screenshot showing the OS Data Hub homepage.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Navigate to the OS Data Hub workspace

Select *Data* from the menu bar to view your workspace.
{% endstep %}

{% step %}

#### Navigate to the OS Select+Build Recipe Library&#x20;

Choose *Downloads* > *OS Select+Build Recipe Library* from the left hand side secondary navigation menu. You will then be taken to your organisation's OS Select+Build Recipe Library.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FamiHxVEA8ivdYWmhdcR0%2FScreenshot%20Recipe%20Library.png?alt=media&#x26;token=1bd9e5df-cb7d-45c5-8f08-3c1ab13b25f1" alt="Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub."><figcaption><p>Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Create a recipe

Click the *Create a new recipe* button, adding the relevant details to your recipe.

See the [Managing OS Select+Build recipes page](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/managing-os-select+build-recipes#how-do-i-create-a-new-recipe) for more information on creating recipes.
{% endstep %}

{% step %}

#### Add filters to feature types in your recipe

Click the *filter icon* <img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FbC0JmdAy2Dlo2apT7h8C%2Ffilter-icon.PNG?alt=media&#x26;token=3185963a-f54c-45a3-93e3-67260cd4bb22" alt="Filter icon in OS Select+Build" data-size="line"> next to the feature type(s) you want to add a filter to in the theme selection tree.

The Advanced Filter Options panel will then slide into view from the right and you can begin to build your filter(s):&#x20;

* For a [simple filter](#worked-example-of-creating-a-simple-filter), select *+Add rule.*&#x20;
* For a more complex [nested filter](#worked-example-of-creating-a-nested-filter), select *+Add group.*
* Once you have added all of your relevant filters, click *Apply Filter*.
  {% endstep %}

{% step %}

#### Finish creating the recipe

Click the *Create recipe* button. Your new recipe with filters will now instantly be available in your OS Select+Build Recipe Library.
{% endstep %}
{% endstepper %}

## How do I add attribute filters to an existing recipe?

To add attribute filters to an existing recipe:&#x20;

{% stepper %}
{% step %}

#### Log into your [OS Data Hub](https://osdatahub.os.uk/) account

Click *Login* on the OS Data Hub menu bar to log into your account.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F1Gd3vBvSOqXLYTPpZsO9%2Fimage.png?alt=media&#x26;token=afd47dd4-6005-4d33-a8ef-ec6540a138fb" alt="A screenshot of the OS Data Hub home page showing the sign up and log in buttons in the top right hand corner" width="563"><figcaption><p>Screenshot showing the OS Data Hub homepage.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Navigate to the OS Data Hub workspace

Select *Data* from the menu bar to view your workspace.
{% endstep %}

{% step %}

#### Navigate to the OS Select+Build Recipe Library&#x20;

Choose *Downloads* > *OS Select+Build Recipe Library* from the left hand side secondary navigation menu. You will then be taken to your organisation's OS Select+Build Recipe Library.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FamiHxVEA8ivdYWmhdcR0%2FScreenshot%20Recipe%20Library.png?alt=media&#x26;token=1bd9e5df-cb7d-45c5-8f08-3c1ab13b25f1" alt="Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub."><figcaption><p>Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Find the recipe you want to edit

In your OS NGD Select+Build Recipe Library, scroll or search for the recipe you would like to edit. Once you've found the recipe, click on its name; you'll be taken to the Recipe details screen.
{% endstep %}

{% step %}

#### Edit the recipe

In the Recipe details screen, click on the *Recipe actions* dropdown and select *Edit recipe*.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F2DTno47D9Z4EJy3FNVzJ%2FScreenshot%20Editing%20a%20recipe.png?alt=media&#x26;token=9b4b7edc-7c4c-4d07-988b-7cb3641bd2e3" alt=""><figcaption><p>Screenshot of the OS Select+Build Recipe details screen with the Recipe actions dropdown open, showing where you can share, edit or delete a recipe.</p></figcaption></figure>

You'll now be able to add filters (see **Step 6**) or remove filters (see **Step 7**) from feature types in the recipe.
{% endstep %}

{% step %}

#### Add a filter to a feature type

* Click the *filter icon* <img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FbC0JmdAy2Dlo2apT7h8C%2Ffilter-icon.PNG?alt=media&#x26;token=3185963a-f54c-45a3-93e3-67260cd4bb22" alt="Filter icon in OS Select+Build" data-size="line"> next to the feature type you want to add a filter to in the selection tree for the recipe.

The Advanced Filter Options panel will then slide into view from the right and you can begin to build your filter(s):&#x20;

* For a [simple filter](#worked-example-of-creating-a-simple-filter), select *+Add rule.*&#x20;
* For a more complex [nested filter](#worked-example-of-creating-a-nested-filter), select *+Add group.*
* Once you have added all of your relevant filters, click *Apply Filter*.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FvtKN8lseDvfAoQmw6HbL%2FScreenshot%20editing%20an%20existing%20recipe%20and%20adding%20a%20filter.png?alt=media&#x26;token=72fadbae-e9d9-43a1-9449-7325f28b89ac" alt="Screenshot of the OS Select+Build Recipe Edit recipe screen with the Advanced Filter Options panel showing."><figcaption><p>Screenshot of the OS Select+Build Recipe Edit recipe screen with the Advanced Filter Options panel showing, where you can add a filter to a recipe.</p></figcaption></figure>

* Select *Save changes*.
* Add a description of the change you have made, then select *Save changes*.
  {% endstep %}

{% step %}

#### Remove a filter from a feature type

* Click the *Edit filter icon*<img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FU86XAuBrwsBbmTyl90tM%2FScreenshot%20black%20full%20filter%20icon.png?alt=media&#x26;token=48b27cb7-c72d-4f86-b2eb-6f4d33c95289" alt="Filter icon in OS Select+Build" data-size="line">next to the feature type you want to remove a filter from in the selection tree for the recipe.
* When the Advanced Filter Options panel slides into view from the right, select *Clear all filters*.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FNWmkWWNVC9rm4HNEo1wu%2FScreenshot%20removing%20a%20filter%20from%20a%20recipe.png?alt=media&#x26;token=6310aa1b-c0af-4fa6-b7fa-f633807a9777" alt=""><figcaption><p>Screenshot of the OS Select+Build Recipe Edit recipe screen with the Advanced Filter Options panel showing. There is one filter applied to the Building Part Feature Type.</p></figcaption></figure>

* Select *Save changes*.
* Add a description of the change you have made, then select *Save changes*.
  {% endstep %}
  {% endstepper %}

## Worked example of creating a simple filter&#x20;

In the following worked example of creating a simple filter, we will use the OS NGD Buildings Theme and select the Building Part Feature Type from the Building Features Collection. Our aim is to build a filter to select buildings where education is recorded as the land use.

{% stepper %}
{% step %}

#### Log into your [OS Data Hub](https://osdatahub.os.uk/) account

Click *Login* on the OS Data Hub menu bar to log into your account.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F1Gd3vBvSOqXLYTPpZsO9%2Fimage.png?alt=media&#x26;token=afd47dd4-6005-4d33-a8ef-ec6540a138fb" alt="A screenshot of the OS Data Hub home page showing the sign up and log in buttons in the top right hand corner" width="563"><figcaption><p>Screenshot showing the OS Data Hub homepage.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Navigate to the OS Data Hub workspace

Select *Data* from the menu bar to view your workspace.
{% endstep %}

{% step %}

#### Navigate to the OS Select+Build Recipe Library&#x20;

Choose *Downloads* > *OS Select+Build Recipe Library* from the left hand side secondary navigation menu. You will then be taken to your organisation's OS Select+Build Recipe Library.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FamiHxVEA8ivdYWmhdcR0%2FScreenshot%20Recipe%20Library.png?alt=media&#x26;token=1bd9e5df-cb7d-45c5-8f08-3c1ab13b25f1" alt="Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub."><figcaption><p>Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Create a new recipe

Click the *Create a new recipe* button.

See the [Managing OS Select+Build recipes page](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/managing-os-select+build-recipes#how-do-i-create-a-new-recipe) for more information on creating recipes.
{% endstep %}

{% step %}

#### Add details to the recipe

* Give your recipe a descriptive name.
* Add a detailed description for your recipe
* Select your OS NGD data by choosing the themes, collections and feature types you want to include in your recipe. For this worked example:
  * Click on the *arrow to the right of Buildings* within the theme selection tree to see the collections available within the theme, then click on the *arrow to the right of Buildings Features* to see the feature types available within that collection.
  * Click on the *check box* next to *Building Part* to select that feature type.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FM8MKqdMNQeeiigTqK0k8%2FScreenshot%20adding%20a%20filter%20to%20a%20recipe.png?alt=media&#x26;token=433077ef-1113-4844-9180-7da50c52fb13" alt="OS Data Hub screenshot, showing part of the theme selection tree in OS Select+Build. A filter icon is visible against the Building Part Feature Type. The Building Part Feature Type has been selected." width="261"><figcaption><p>Screenshot showing a filter icon against the selected feature type in the theme selection tree in OS Select+Build</p></figcaption></figure>
{% endstep %}

{% step %}

#### Add a filter to the Building Part Feature Type where the *OS Land Use Tier A attribute* is set to *Education*

* Click on the *filter icon* <img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FbC0JmdAy2Dlo2apT7h8C%2Ffilter-icon.PNG?alt=media&#x26;token=3185963a-f54c-45a3-93e3-67260cd4bb22" alt="Filter icon in OS Select+Build" data-size="line"> to the right of Building Part.

The Advanced Filter Options panel will slide into view from the right, where you can begin to build your filter(s):

* In the Advanced Filter Options panel, click *+ Add rule*, then select *OSLandUseTierA* from the first drop-down.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FQH9Dk3wHz1P31wplUdFD%2F1st%20filter.PNG?alt=media&#x26;token=a5384e96-cea2-45f3-8e1a-7060d093f8dc" alt="OS Data Hub screenshot, showing the Advanced filter options panel in OS Select+Build. In the rule, OSLandUseTierA is selected in the first drop-down."><figcaption><p>Screenshot of adding a rule in the Advanced Filter Options panel in OS Select+Build.</p></figcaption></figure>

* Leave the operator in the second drop-down as: = (i.e. the equal sign), then select *Education* from the third drop-down.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F6tetwrOKDuxw8QR2gmqR%2F2nd%20filter.PNG?alt=media&#x26;token=fe1c37c9-cb0e-4c5b-9944-a8e5f6f0b4fe" alt="OS Data Hub screenshot, showing the Advanced filter options panel in OS Select+Build. In the rule, OSLandUseTierA is selected in the first drop-down, the equal sign is selected in the second drop-down, and Education is selected in the third drop-down."><figcaption><p>Screenshot of adding a rule in the Advanced Filter Options panel in OS Select+Build.</p></figcaption></figure>

* Click the *Apply filter* button.
  {% endstep %}

{% step %}

#### Finish creating the recipe

Click the *Create recipe* button. Your new recipe will now instantly be available in your OS Select+Build Recipe Library.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
Your filter will return buildings where education (Education) is recorded as the land use (OS Land Use Tier A attribute).
{% endhint %}

## Worked example of creating a nested filter&#x20;

What if, in addition to the simple filter above (returning results for buildings with a land use of education), we want those results to show only buildings over 15metres in height? What if you also wanted to add an additional filter to show buildings with a land use of rail? To achieve this, you could create a nested filter using the + Add group option.

{% stepper %}
{% step %}

#### Follow the steps outlined above for creating a simple filter for Building Part until you reach the Advanced Filter Options panel step (Step 6).

{% endstep %}

{% step %}

#### Add a simple filter to the Building Part Feature Type

* In the Advanced Filter Options panel, click *+ Add group*, then select *OSLandUseTierA* from the first drop-down.
* Leave the operator in the second drop-down as: = (i.e. the equal sign), then select *Education* from the third drop-down.
  {% endstep %}

{% step %}

#### Add a nested filter to the Building Part Feature Type

* Click *+ Add rule* to add a second rule below the OSLandUseTierA rule.
* In the second rule, select relativeHeightMaximum from the first drop-down, set the operator in the second drop-down as > (i.e. the more than sign), and type 15 in the input box.
* Before continuing, select whether you would like the rules within the group to have an And or an Or condition. In this case, you should select *And* from the And / Or selector.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FpvBLNqC00cm7p9KqcbfR%2Fnested%20filtering%201.PNG?alt=media&#x26;token=385d607b-c85a-4de4-a7c0-e3d514ca6539" alt="OS Data Hub screenshot, showing the Advanced filter options panel in OS Select+Build. Two rules have been created in the first group."><figcaption><p>Screenshot of creating a nested filer in the Advanced Filter Options panel in OS Select+Build.</p></figcaption></figure>

* Next, click *+ Add group*.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FgVTByhVVAFoJWwwuX1y1%2F6th%20filter.PNG?alt=media&#x26;token=60d8c29b-5bf5-45b8-a9a7-e0710216be67" alt="OS Data Hub screenshot, showing the Advanced filter options panel in OS Select+Build. Two rules have been created in the first group, and the +Add group button has been clicked and the application has drawn an extra box."><figcaption><p>Screenshot of creating a nested filter in the Advanced Filter Options panel in OS Select+Build.</p></figcaption></figure>

* The application has drawn an extra box for you. Whatever rules are contained inside this box will be evaluated together, before combining with any rules outside the box.&#x20;
* Before continuing, select whether you would like the rule in the second group to have an And or an Or condition. In this case, you should select *Or* from the And / Or selector.
* In the rule in the extra box, select *OSLandUseTierA* from the first drop-down, leave the operator as = (i.e. the equal sign) in the second drop-down, and select *Transport: Rail* from the third drop-down.
* Click *Apply filter*.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FoEOwav9bMYJ9UdAPrjDJ%2F7th%20filter.PNG?alt=media&#x26;token=61067f41-8bf3-400e-8502-48908c547c24" alt="OS Data Hub screenshot, showing an example of a nested filter with an And condition and an Or condition applied in the Advanced filter options panel in OS Select+Build. "><figcaption><p>Screenshot of creating a nested filter with And and Or conditions in the Advanced Filter Options panel in OS Select+Build.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Finish creating the recipe

Click the *Create recipe* button. Your new recipe will now instantly be available in your OS Select+Build Recipe Library.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
Your filter will return results for buildings (Building Part) that have either an education (Education) land use if that building is over 15 metres high or a railway land use (Transport:Rail).
{% endhint %}

## How do I check if filters are used in an existing recipe?

To check what filters have been applied to feature types in an existing recipe:

{% stepper %}
{% step %}

#### Log into your [OS Data Hub](https://osdatahub.os.uk/) account

Click *Login* on the OS Data Hub menu bar to log into your account.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F1Gd3vBvSOqXLYTPpZsO9%2Fimage.png?alt=media&#x26;token=afd47dd4-6005-4d33-a8ef-ec6540a138fb" alt="A screenshot of the OS Data Hub home page showing the sign up and log in buttons in the top right hand corner" width="563"><figcaption><p>Screenshot showing the OS Data Hub homepage.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Navigate to the OS Data Hub workspace

Select *Data* from the menu bar to view your workspace.
{% endstep %}

{% step %}

#### Navigate to the OS Select+Build Recipe Library&#x20;

Choose *Downloads* > *OS Select+Build Recipe Library* from the left hand side secondary navigation menu. You will then be taken to your organisation's OS Select+Build Recipe Library.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FamiHxVEA8ivdYWmhdcR0%2FScreenshot%20Recipe%20Library.png?alt=media&#x26;token=1bd9e5df-cb7d-45c5-8f08-3c1ab13b25f1" alt="Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub."><figcaption><p>Screenshot of the OS Select+Build Recipe Library screen in the OS Data Hub.</p></figcaption></figure>
{% endstep %}

{% step %}

#### Find the recipe you want to check for filter presence on

In your OS NGD Select+Build Recipe Library, scroll or search for the recipe you would like to edit. Once you've found the recipe, click on its name; you'll be taken to the Recipe details screen.
{% endstep %}

{% step %}

#### Check for filter presence

You are now within the Recipe details screen, where you can view detailed information about the recipe, including the recipe's name, the date it was created, etc. If filters have been applied to the recipe, a filter icon<img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FU86XAuBrwsBbmTyl90tM%2FScreenshot%20black%20full%20filter%20icon.png?alt=media&#x26;token=48b27cb7-c72d-4f86-b2eb-6f4d33c95289" alt="Filter icon in OS Select+Build" data-size="line">(i.e. a black funnel symbol) will appear under the recipe name alongside text stating: 'Filters have been applied to this recipe'.

* Click *View all filters* to view all of the filters that have been applied to feature types in the recipe.

In the example recipe below, you can see that there is a filter icon<img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FU86XAuBrwsBbmTyl90tM%2FScreenshot%20black%20full%20filter%20icon.png?alt=media&#x26;token=48b27cb7-c72d-4f86-b2eb-6f4d33c95289" alt="Filter icon in OS Select+Build" data-size="line">(i.e. the black funnel symbol) against the Building Part Feature Type; therefore, this feature type has filters applied to it.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FoDkNZaele2wV9KzqOscA%2FRecipe-details.PNG?alt=media&#x26;token=593b8098-437d-452c-bc17-5666e8c80bd8" alt="Screenshot of the OS Data Hub, showing the OS Select+Build recipe details screen. This screen shows in-depth information about an example recipe, including the recipe name, a description of the recipe, the filters used, the creation date, its author, and the OS NGD themes, collections and feature types present within it."><figcaption><p>Screenshot of the OS Select+Build Recipe details screen, which shows in-depth information about the contents of an example recipe.</p></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/osngd/getting-started/downloading-with-os-select+build/getting-started-with-recipes/getting-started-with-attribute-filtering.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.
