georust / geo

Rust geospatial primitives & algorithms
https://crates.io/crates/geo
Other
1.58k stars 198 forks source link

unify Densify trait (adds support for Geodesic, Rhumb) #1231

Closed michaelkirk closed 1 month ago

michaelkirk commented 1 month ago

Supersedes #1208 Part of #1181

Densify is now generic, and implemented for anything that implements Distance<Point, Point> and Interpolate<Point>.

Specifically that means we continue to support Euclidean and Haversine densification, and now additionally support Geodesic and Rhumb.

michaelkirk commented 1 month ago

Pushed up some missing docs - sorry 🙇