Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Haversine length algorithm #183

Merged
merged 2 commits into from
Feb 4, 2018
Merged

Conversation

eeeeeta
Copy link
Contributor

@eeeeeta eeeeeta commented Jan 27, 2018

This PR adds a new algorithm, haversine_length, that computes the "Haversine length" of a line or linestring - i.e. the sum of the Haversine distances between every two points in the line.

It also reexports this algorithm, and the PostGIS algorithms introduced in #180, in the prelude (because I realised I forgot to reexport them in #180...)

@frewsxcv
Copy link
Member

frewsxcv commented Feb 4, 2018

looks good, thanks!

bors r+

bors bot added a commit that referenced this pull request Feb 4, 2018
183: Add Haversine length algorithm r=frewsxcv a=eeeeeta

This PR adds a new algorithm, `haversine_length`, that computes the "Haversine length" of a line or linestring - i.e. the sum of the Haversine distances between every two points in the line.

It also reexports this algorithm, and the PostGIS algorithms introduced in #180, in the prelude (because I realised I forgot to reexport them in #180...)
@bors
Copy link
Contributor

bors bot commented Feb 4, 2018

Build succeeded

@bors bors bot merged commit a1b0e3a into georust:master Feb 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants