Lazy Planner Equation/Logic Needed

App support

Moderator: HAZ - Moderators

 Linked Guides none
 Linked Area, etc none
Post Reply
User avatar
joebartels
Guides: 264 | Official Routes: 226
Triplogs Last: 5 d | RS: 1960
Water Reports 1Y: 14 | Last: 8 d
Joined: Nov 20 1996 12:00 pm

Lazy Planner Equation/Logic Needed

Post by joebartels »

Someone that shall remain nameless constantly haggles me RS calls out the wrong distance to a waypoint.
Exhibit A
Exhibit A
Should I spend days if not weeks figuring out how to calculate the distance this chap desires?
- He could simply place the waypoint at the blue dot

Or should I ignore nameless and move on to more important things like the smilies to emojis conversion.

Those with the math or logic skills to solve the above please message me.
Already have the logic to
- find the nearest track
- find nearest point in track ( series of coordinates )
Need logic to
- find the nearest distance within x feet of waypoint
- seems we need to know every point in the line within x feet then take the one with the least distance to reach
- joe
contribute to this member driven resource
ie: RS > Save/Share after hikes Route Scout GPS Topo Mapper on the App Store Route Scout GPS Topo Mapper on Google Play
User avatar
big_load
Guides: 0 | Official Routes: 1
Triplogs Last: 594 d | RS: 3
Water Reports 1Y: 0 | Last: 2,483 d
Joined: Oct 28 2003 11:20 am
City, State: Andover, NJ

Re: Lazy Planner Equation/Logic Needed

Post by big_load »

I don't get where the 14.7 miles came from. Is it 14.7 miles from where he started and he's now about 3/4 of the way through a ~20 mile trip? If you're using distances along an out-and-back track, it can be tricky to pick the right one. One could probably design a track to fool any given algorithm. Anyway, I can survive without a numerical readout of the distance. I can tell from the map roughly how far it is. I vote for placing the waypoint at the blue dot.
contribute to this member driven resource
ie: RS > Save/Share after hikes Route Scout GPS Topo Mapper on the App Store Route Scout GPS Topo Mapper on Google Play
User avatar
joebartels
Guides: 264 | Official Routes: 226
Triplogs Last: 5 d | RS: 1960
Water Reports 1Y: 14 | Last: 8 d
Joined: Nov 20 1996 12:00 pm

Re: Lazy Planner Equation/Logic Needed

Post by joebartels »

@big_load
- hiker is 4.75 miles into hike
- waypoint is closest to a point in the track at 14.7 miles
- however 100 feet away where the waypoint should have been placed is a track point at 5.1 miles
- joe
contribute to this member driven resource
ie: RS > Save/Share after hikes Route Scout GPS Topo Mapper on the App Store Route Scout GPS Topo Mapper on Google Play
User avatar
joebartels
Guides: 264 | Official Routes: 226
Triplogs Last: 5 d | RS: 1960
Water Reports 1Y: 14 | Last: 8 d
Joined: Nov 20 1996 12:00 pm

Re: Lazy Planner Equation/Logic Needed

Post by joebartels »

Nairmind believe I figured out a low calculation solution! :y:
Expect the smilies to emojis conversion in the next year Image
- joe
contribute to this member driven resource
ie: RS > Save/Share after hikes Route Scout GPS Topo Mapper on the App Store Route Scout GPS Topo Mapper on Google Play
User avatar
big_load
Guides: 0 | Official Routes: 1
Triplogs Last: 594 d | RS: 3
Water Reports 1Y: 0 | Last: 2,483 d
Joined: Oct 28 2003 11:20 am
City, State: Andover, NJ

Re: Lazy Planner Equation/Logic Needed

Post by big_load »

joebartels wrote:Expect the smilies to emojis conversion in the next year
When we switch to emojis, do I have to get a modern haircut?
contribute to this member driven resource
ie: RS > Save/Share after hikes Route Scout GPS Topo Mapper on the App Store Route Scout GPS Topo Mapper on Google Play
User avatar
The_Eagle
Guides: 41 | Official Routes: 342
Triplogs Last: today | RS: 612
Water Reports 1Y: 75 | Last: 7 d
Joined: Jan 20 2009 2:46 pm
City, State: Far NE Phoenix, Az
Contact:

Re: Lazy Planner Equation/Logic Needed

Post by The_Eagle »

Thanks,
Nameless
:pout: :sl: :wrt: :M2C: :lone: 8) :x :oops: :cry: : rambo : :| : app : :doh: :pray: 8-[ [-( :-k :stop: :sk: :-$ :-s :DANCE: :--: :zzz: :welcome: :pk: :next: :yr:
There is a very fine line between "hobby" and "mental illness."
Dave Barry 🦅
contribute to this member driven resource
ie: RS > Save/Share after hikes Route Scout GPS Topo Mapper on the App Store Route Scout GPS Topo Mapper on Google Play
Post Reply

Return to “HAZ Apps”