Skip to content

Enums

geoarrow.rust.core.enums

CoordType

Bases: StrEnum

Available GeoArrow coordinate types.

INTERLEAVED class-attribute instance-attribute

INTERLEAVED = 'interleaved'

Interleaved coordinate layout.

All coordinates are stored in a single buffer, as XYXYXY.

SEPARATED class-attribute instance-attribute

SEPARATED = 'separated'

Separated coordinate layout.

Coordinates are stored in a separate buffer per dimension, e.g. XXXX and YYYY.

Dimension

Bases: StrEnum

Geometry dimensions.

XY class-attribute instance-attribute

XY = 'xy'

Two dimensions, X and Y

XYM class-attribute instance-attribute

XYM = 'xym'

Three dimensions, X, Y, and M

XYZ class-attribute instance-attribute

XYZ = 'xyz'

Three dimensions, X, Y, and Z

XYZM class-attribute instance-attribute

XYZM = 'xyzm'

Four dimensions, X, Y, Z, and M

Edges

Bases: StrEnum

Edges.

GeometryType

Bases: IntEnum

BOX class-attribute instance-attribute

BOX = 990

Box geometry type.

GEOMETRY class-attribute instance-attribute

GEOMETRY = 0

Unknown geometry type.

GEOMETRYCOLLECTION class-attribute instance-attribute

GEOMETRYCOLLECTION = 7

Geometrycollection geometry type.

LINESTRING class-attribute instance-attribute

LINESTRING = 2

Linestring geometry type.

MULTILINESTRING class-attribute instance-attribute

MULTILINESTRING = 5

Multilinestring geometry type.

MULTIPOINT class-attribute instance-attribute

MULTIPOINT = 4

Multipoint geometry type.

MULTIPOLYGON class-attribute instance-attribute

MULTIPOLYGON = 6

Multipolygon geometry type.

POINT class-attribute instance-attribute

POINT = 1

Point geometry type.

POLYGON class-attribute instance-attribute

POLYGON = 3

Polygon geometry type.