get_unique_values
Get all unique values from a chosen field in an ArcGIS Pro layer, making it easy to inspect data and construct accurate WHERE clauses for select-by-attribute workflows.
Instructions
Get all unique values in a field. Useful for exploring data and building WHERE clauses for select_by_attribute.
Args: layer: Exact layer name as shown in the Contents pane field: Field name to get unique values for limit: Max number of unique values to return (default: 100)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| layer | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |