# Function hierarchy

The population of Primary Function and Secondary Function attributes is driven by a hierarchy. This hierarchy is applied to the data to determine which function is primary and secondary in cases where more than one function applies for a single topographic area polygon. Not every polygon will have more than one function due to the nature of the primary function, for example, cemeteries and bowling greens are not likely to have secondary functions. This hierarchy only applies where more than one function exists.

The hierarchy has been developed to ensure the process applies the appropriate functions and does not imply any level of priority.

The following table declares this hierarchy:

<table><thead><tr><th width="277">Hierarchy</th><th>Function</th></tr></thead><tbody><tr><td>1</td><td>Public Park Or Garden</td></tr><tr><td>2</td><td>School Grounds</td></tr><tr><td>3</td><td>Institutional Grounds</td></tr><tr><td>4</td><td>Golf Course</td></tr><tr><td>5</td><td>Amenity – Residential Or Business*</td></tr><tr><td>6</td><td>Amenity – Transport</td></tr><tr><td>7</td><td>Camping Or Caravan Park</td></tr><tr><td>8</td><td>Religious Grounds</td></tr><tr><td>9</td><td>Cemetery</td></tr><tr><td>10</td><td>Private Garden</td></tr><tr><td>11</td><td>Playing Field</td></tr><tr><td>12</td><td>Other Sports Facility</td></tr><tr><td>13</td><td>Tennis Court</td></tr><tr><td>14</td><td>Allotments Or Community Growing Spaces</td></tr><tr><td>15</td><td>Play Space</td></tr><tr><td>16</td><td>Bowling Green</td></tr><tr><td>17</td><td>Land Use Changing</td></tr><tr><td>18</td><td><p>Natural</p><p>(features with no other function but with Form attribute of woodland, open semi-natural, open water, foreshore)</p></td></tr></tbody></table>

\*Due to the way Amenity – Residential or Business function is defined (see Code lists), features classified as this primary function would not be expected to have a secondary function.


---

# 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-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/function-hierarchy.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.
