The `geo-types`

library provides geospatial primitive types for the GeoRust ecosystem.

In most cases, you will only need to use this crate if youâ€™re a crate author and want
compatibility with other GeoRust crates. Otherwise, the `geo`

crate re-exports these types and provides geospatial algorithms.

# Types

**[**: A two-dimensional coordinate. All geometry types are composed of [`Coordinate`

]`Coordinate`

]s, though [`Coordinate`

] itself is not a [`Geometry`

] type.**[**: A single point represented by one [`Point`

]`Coordinate`

]**[**: A collection of [`MultiPoint`

]`Point`

]s**[**: A line segment represented by two [`Line`

]`Coordinate`

]s**[**: A series of contiguous line segments represented by two or more [`LineString`

]`Coordinate`

]s**[**: A collection of [`MultiLineString`

]`LineString`

]s**[**: A bounded area represented by one [`Polygon`

]`LineString`

] exterior ring, and zero or more [`LineString`

] interior rings**[**: A collection of [`MultiPolygon`

]`Polygon`

]s**[**: An axis-aligned bounded rectangle represented by minimum and maximum [`Rect`

]`Coordinate`

]s**[**: A bounded area represented by three [`Triangle`

]`Coordinate`

] vertices**[**: A collection of [`GeometryCollection`

]`Geometry`

]s**[**: An enumeration of all geometry types, excluding [`Geometry`

]`Coordinate`

]

# Semantics

The geospatial types provided here aim to adhere to the OpenGIS Simple feature access standards. Thus, the types here are inter-operable with other implementations of the standards: JTS, GEOS, etc.

# Features

The following optional Cargo features are available:

`approx`

: Allows geometry types to be checked for approximate equality with approx`arbitrary`

: Allows geometry types to be created from unstructured input with arbitrary`serde`

: Allows geometry types to be serialized and deserialized with Serde`use-rstar_0_8`

: Allows geometry types to be inserted into rstar R*-trees (`rstar v0.8`

)`use-rstar_0_9`

: Allows geometry types to be inserted into rstar R*-trees (`rstar v0.9`

)