Skip to content

Constructors

geoarrow.rust.core

points

points(
    coords: ArrayInput | Tuple[ArrayInput, ...] | List[ArrayInput],
    *,
    crs: CRSInput | None = None
) -> NativeArray

linestrings

linestrings(
    coords: ArrayInput | Tuple[ArrayInput, ...] | List[ArrayInput],
    geom_offsets: ArrayInput,
    *,
    crs: CRSInput | None = None
) -> NativeArray

polygons

polygons(
    coords: ArrayInput | Tuple[ArrayInput, ...] | List[ArrayInput],
    geom_offsets: ArrayInput,
    ring_offsets: ArrayInput,
    *,
    crs: CRSInput | None = None
) -> NativeArray

multipoints

multipoints(
    coords: ArrayInput | Tuple[ArrayInput, ...] | List[ArrayInput],
    *,
    crs: CRSInput | None = None
) -> NativeArray

multilinestrings

multilinestrings(
    coords: ArrayInput | Tuple[ArrayInput, ...] | List[ArrayInput],
    geom_offsets: ArrayInput,
    ring_offsets: ArrayInput,
    *,
    crs: CRSInput | None = None
) -> NativeArray

multipolygons

multipolygons(
    coords: ArrayInput | Tuple[ArrayInput, ...] | List[ArrayInput],
    geom_offsets: ArrayInput,
    polygon_offsets: ArrayInput,
    ring_offsets: ArrayInput,
    *,
    crs: CRSInput | None = None
) -> NativeArray