Geo: Geospatial Primitives and Algorithms for Rust
The crate provides geospatial primitive types such as , , and , and provides algorithms and operations such as:
Please refer to the documentation for a complete list. The primitive types also provide the basis for other functionality in the ecosystem, including:
geo {Polygon, LineString}; geo convexhull ConvexHull; coords [( , ), ( , ), ( , ), ( , ), ( , ), ( , ), ( , )]; // conversions to geo types are provided from several kinds of coordinate sequences poly Polygon (coords. (), []); // uses the QuickHull algorithm to calculate the polygon’s convex hull hull poly.
Source: github.com