Get Unique Values
get_unique_valuesExtract the distinct values of a specified field in a QGIS layer. Use the limit parameter to cap results, aiding in building categorized symbology or filters.
Instructions
Return the distinct values of a field. Use 'limit' to cap results (-1 for all). Useful before building categorized symbology or filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| limit | No | ||
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||