Registry / other / geo
library0.33.1rscratesunverified

Geospatial primitives and algorithms for Rust.

# Cargo.toml [dependencies] geo = "0.33.1"
INSTALL
IMPORT
SIG · GEO
G
geo
otherrustv0.33.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HaversineDistance
✓ use geo::algorithm::HaversineDistance;

Calculate the haversine distance between two points.

use geo::algorithm::HaversineDistance; use geo::Point; let p1 = Point::new(0.0, 0.0); let p2 = Point::new(1.0, 1.0); let distance = p1.haversine_distance(&p2); println!("Distance: {} meters", distance);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.33.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
geo — cargo add geo · libregistry