-
Notifications
You must be signed in to change notification settings - Fork 0
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 an option for calculating deviation with respect to the best fit line #8
Comments
I think this is a great idea! Fitting the line with linear regression should result in an optimal squared deviation average, which IMHO should be a good straight line quality measure in general. There are some aspects that need to be considered for implementation:
|
Methods to do this directly on the sphere are described here:
This would be the most accurate thing to do but would be very hard. |
Ok, this might be doable, but its indeed very complicated. In general, I think that linesman should prefer the gedoesic interpretation of "straight" line to the lat-lon-2d interpretation, as it makes more sense for long "straight" lines. On the other hand, mayhaps its common for gps trackers to not use a geodesic when determining the direct connection of two points – which would mean that implementing a geodesic regression wouldn't be of much practical use. Maybe input from user number 1 (geowizard) could help prioritizing this feature. |
For reference: https://en.wikipedia.org/wiki/Simple_linear_regression
The text was updated successfully, but these errors were encountered: