geometry.Geometry.get_field#

Geometry.get_field(name)#

Get the data field with the specified name.

Parameters#

name: str

The name of the Field to retrieve.

Returns#

Field

The data field with the specified name, if it exists in the Geometry object’s fields. Returns None if no such key exists.

Examples#

See add_field().