Module data_types

Module data_types 

Source
Expand description

Structs that represent the Rust equivalent of spatial SQL types

Structs§

BoundingBox
An axis-aligned bounding rectangle.
Geometry
An arbitrary geometry.
GeometryCollection
A collection of Geometry types.
LineString
A linearly interpolated path between locations.
MultiLineString
A collection of LineStrings.
MultiPoint
A collection of Points.
MultiPolygon
A collection of Polygons.
Point
A single point in 2D space.
Polygon
A bounded two-dimensional area.

Constants§

SRID_CARTESIAN
SRID for the unitless Cartesian plane

Type Aliases§

SRID
Spatial Reference Identifier