Skip to content

Types

geoarrow.rust.compute.types

AreaMethodT module-attribute

AreaMethodT = Literal['ellipsoidal', 'euclidean', 'spherical']

Acceptable strings to be passed into the method parameter for area and signed_area.

LengthMethodT module-attribute

LengthMethodT = Literal['ellipsoidal', 'euclidean', 'haversine', 'vincenty']

Acceptable strings to be passed into the method parameter for length.

RotateOriginT module-attribute

RotateOriginT = Literal['center', 'centroid']

Acceptable strings to be passed into the origin parameter for rotate.

SimplifyMethodT module-attribute

SimplifyMethodT = Literal['rdp', 'vw', 'vw_preserve']

Acceptable strings to be passed into the method parameter for simplify.

GeoInterfaceProtocol

Bases: Protocol

A scalar geometry that implements the Geo Interface protocol.

NumpyArrayProtocolf64

Bases: Protocol

An object that implements the numpy array method.