georust / geo

Geospatial primitives and algorithms for Rust
https://crates.io/crates/geo
Other
1.49k stars 194 forks source link

add DensifyHaversine trait #1081

Closed JosiahParry closed 9 months ago

JosiahParry commented 9 months ago

This PR adds a DensifyHaversine trait which enables users to densify line based spherical geometries.

It provides the ground work for enabling linestring segmentation on geographical coordinates which can be used by downstream libraries such as stplanr.

michaelkirk commented 9 months ago

re: the CI failure - You might want to check out our usage of approx elsewhere for the sloppy floating point matching.

JosiahParry commented 9 months ago

Oh thank goodness. That was an adventure!