query_layer
Retrieve layer attributes as GeoJSON in WGS84 using SQL filters, bounding box, field selection, and ordering. When transfer limits are exceeded, use offset to fetch remaining features.
Instructions
Query layer attributes and return GeoJSON in WGS84. Supports a SQL where, field selection, ordering and a bbox [minlon,minlat,maxlon,maxlat]. If exceededTransferLimit is true, repeat with offset. Only sources that declare the 'query' capability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| limit | No | ||
| where | No | 1=1 | |
| offset | No | ||
| source | Yes | ||
| layer_id | Yes | ||
| order_by | No | ||
| out_fields | No | * | |
| return_geometry | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||