update_features
Modify attributes or geometry of ArcGIS Pro features matching a SQL where clause; supports row limits, edit sessions, and saving edits.
Instructions
Update attributes and/or geometry of rows matching a where clause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Stop after this many rows (0 = no limit). | |
| where | No | SQL where clause selecting the rows to update. | |
| geometry | No | New geometry as WKT, applied to every match. | |
| map_name | No | Map to act on; defaults to the active map. | |
| attributes | No | Field/value pairs to write. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. | |
| save_edits | No | Commit the edits immediately instead of leaving them pending. | |
| allow_update_all | No | Required confirmation when no where clause is given. | |
| use_edit_session | No | Wrap in an edit session. | |
| geometry_spatial_reference | No | WKID of the geometry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |