Experimental

Renames an attribute field in a vector layer.

vector schema attributes

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`input` | Input vector layer. | Required | `input.shp`
`field` | Existing field name. | Required | `OLD_NAME`
`new_field` | Replacement field name. | Required | `NEW_NAME`
`output` | Output vector path. | Required | —

## Examples

Renames one attribute field.

    wbe.rename_field(field='OLD_NAME', input='input.shp', new_field='NEW_NAME', output='renamed.shp')

## Project Links

WbW Homepage User Manual Support WbW