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][geoarrow.rust.core.area] and [signed_area][geoarrow.rust.core.signed_area].

LengthMethodT module-attribute

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

Acceptable strings to be passed into the method parameter for [length][geoarrow.rust.core.length].

RotateOriginT module-attribute

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

Acceptable strings to be passed into the origin parameter for [rotate][geoarrow.rust.core.rotate].

SimplifyMethodT module-attribute

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

Acceptable strings to be passed into the method parameter for [simplify][geoarrow.rust.core.simplify].

GeoInterfaceProtocol

Bases: Protocol

A scalar geometry that implements the Geo Interface protocol.

NumpyArrayProtocolf64

Bases: Protocol

An object that implements the numpy array method.