Skip to content

geotools_types

This module contains constants and functions pertaining to data types.

BBoxLike module-attribute #

BBoxLike = tuple[float, float, float, float]

BBox like tuple structure used for type checking.

IntersectsLike module-attribute #

IntersectsLike = (
    Point
    | Polygon
    | LineString
    | MultiPolygon
    | MultiPoint
    | MultiLineString
    | GeometryCollection
)

Intersect-like union of types used for type checking.

DateLike module-attribute #

DateLike = (
    datetime
    | str
    | None
    | tuple[datetime | str | None, datetime | str | None]
    | list[datetime | str | None]
    | Iterator[datetime | str | None]
)

Date-like union of types used for type checking.