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 GPXTrack.get_nearest_locations method #273

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

pleasantone
Copy link

get_nearest_locations works just across the entire GPX database, which is fine for some uses, but if one is trying to match up all the waypoints against tracks (which could be used for an individual part of a trip), there is no way to just match against a track.

Luckily the fix is trivial, unfortunately it is cut-and-paste since we don't inherit from a more generic track vs tracks object.

This pull request also includes #272, please don't apply both. Just giving you the option to decide if you want the added functionality or just the bug fix

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