os_features_query
Query Ordnance Survey NGD features by collection using bounding box or polygon constraints, with optional filters, projections, sorting, and queryables support.
Instructions
Query OS NGD features by collection using bbox or polygon constraints, with optional filter/projection/sort/queryables support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cql | No | Pass-through CQL filter text. | |
| bbox | No | WGS84 bbox [minLon,minLat,maxLon,maxLat] | |
| tool | No | ||
| limit | No | ||
| filter | No | Property filter object. | |
| sortBy | No | Sort fields (for example 'name,-height'). | |
| polygon | No | Polygon ring coordinates or GeoJSON Polygon object. | |
| delivery | No | ||
| thinMode | No | When true, project properties to a bounded field set by default. | |
| pageToken | No | Offset for paging (use nextPageToken from the previous response). | |
| collection | Yes | NGD collection id | |
| filterText | No | Alias for cql text. | |
| resultType | No | Use 'hits' for count-only responses. | |
| excludeFields | No | ||
| includeFields | No | ||
| allowLargeBbox | No | When true, disables bbox-area clamping guardrail. | |
| inlineMaxBytes | No | ||
| scanPageBudget | No | Max pages to scan for local-filter count-only paths. | |
| includeGeometry | No | When true, include GeoJSON geometry per feature (larger payloads). | |
| includeQueryables | No | Include collection queryables metadata. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| count | Yes | ||
| hints | No | ||
| limit | No | ||
| offset | No | ||
| polygon | No | ||
| delivery | Yes | ||
| features | No | ||
| collection | No | ||
| queryables | No | ||
| resultType | No | ||
| resourceUri | No | ||
| hintMessages | No | ||
| nextPageToken | No | ||
| numberMatched | No | ||
| numberReturned | Yes |