arcgis_symbology
Apply graduated or unique renderers to feature layers in ArcGIS Pro using numeric or categorical fields for thematic mapping with color ramps.
Instructions
给活工程里某要素图层套用渲染器,让地图会说话——用户能在 Pro 窗口里立刻看到变色。renderer='graduated' 用数值字段做分级配色(专题图主力);'unique' 用分类字段每个值一种颜色。例:layer='tracts', renderer='graduated', field='MEDINCOME', classes=5, ramp='Viridis'。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | 要渲染的要素图层名。 | |
| renderer | Yes | graduated=数值字段分级色;unique=分类字段唯一值色。 | |
| field | Yes | 用于渲染的字段。graduated 需数值字段;unique 用分类字段。 | |
| classes | No | graduated 的分级数(默认 5;unique 忽略)。 | |
| method | No | graduated 的分类方法(默认 NaturalBreaks;unique 忽略)。 | |
| ramp | No | 色带名,如 'Viridis'(可选)。 | |
| map | No | 可选地图名(缺省用活动/第一个地图)。 |