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

Feature/loops #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

mikedbjones
Copy link

Thank you for this project, it has been very useful for some GPX route comparison work I've been doing. I have added some functionality to handle loops and linear routes.

Added handling of loops:

  • rotates loops so that start points match for comparison purposes
  • detects whether one loop is the reversal of another. If so, reverses one of the loops for comparison
  • added argument -r to negate the effects of reversal detection (to force reversal if it is not detected, or avoid reversal if it is)

Added similar reversal logic for linear routes.

See GPXs and PNGs for derwent_loops and stanage_linear for examples.

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.

1 participant