Skip to content

Add GPXTrack.get_nearest_locations method#273

Open
pleasantone wants to merge 2 commits into
tkrajina:devfrom
pleasantone:get_nearest
Open

Add GPXTrack.get_nearest_locations method#273
pleasantone wants to merge 2 commits into
tkrajina:devfrom
pleasantone:get_nearest

Conversation

@pleasantone

Copy link
Copy Markdown

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

@tkrajina
tkrajina force-pushed the dev branch 2 times, most recently from 352c97d to b866ab4 Compare August 5, 2024 10:21
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