Skip to content

Typing

IntoExprColumn module-attribute #

IntoExprColumn: TypeAlias = pl.Expr | pl.Series | str

IntoGeoExprColumn module-attribute #

IntoGeoExprColumn: TypeAlias = IntoExprColumn

IntoIntegerExpr module-attribute #

IntoIntegerExpr: TypeAlias = IntoExprColumn | int

IntoNumericExpr module-attribute #

IntoNumericExpr: TypeAlias = IntoExprColumn | int | float

GeometryFormat module-attribute #

GeometryFormat: TypeAlias = Literal[
    "wkb",
    "wkt",
    "ewkt",
    "geojson",
    "shapely",
    "point",
    "multipoint",
    "linestring",
    "circularstring",
    "multilinestring",
    "polygon",
    "rectangle",
]

SjoinPredicate module-attribute #

SjoinPredicate: TypeAlias = Literal[
    "intersects_bbox",
    "intersects",
    "within",
    "dwithin",
    "contains",
    "overlaps",
    "crosses",
    "touches",
    "covers",
    "covered_by",
    "contains_properly",
    "relate_pattern",
]

CapStyle module-attribute #

CapStyle: TypeAlias = Literal['round', 'square', 'flat']

JoinStyle module-attribute #

JoinStyle: TypeAlias = Literal['round', 'mitre', 'bevel']

TransformOrigin module-attribute #

TransformOrigin: TypeAlias = Literal['center', 'centroid']

OutputDimension module-attribute #

OutputDimension: TypeAlias = Literal[2, 3, 4]

ByteOrder module-attribute #

ByteOrder: TypeAlias = Literal[0, 1]

MakeValidMethod module-attribute #

MakeValidMethod: TypeAlias = Literal['linework', 'structure']

PrecisionMode module-attribute #

PrecisionMode: TypeAlias = Literal['valid_output', 'no_topo', 'keep_collapsed']