... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
feature request: approximate a route by a track
#6
Simple, if a protected waypoint is tagged for removal, keep it and optionally take the one before or after. You might pop up a warning to the user with a "delete protected" yes/no/alternative message and a selection box "always use this choice". Alternative means, deleted the one before or after (in the original list).
(27.02.2010, 20:07)routeconverter Wrote: A nice idea - it does not match the algorithms offered by the Google Maps API. There you can choose between inserting only turn points or all points. Have a look at the prerelease and tell me if it's useful to you!
Actually if you first let google first calculate the intermediate points and then decimate those points based on user input (e.g. minimum spacing) you would have the implementation.

I also suggest when implementing this, to do the intermediate point calculation for each selected point in turn and first decimate the generated intermediate points before moving up to the next waypoint. This limits the number of generated waypoints.

Pseudo code:

Code:
Loop over all selected waypoints
   call google api with selected waypoint i and following waypoint i+1
   decimate google generated waypoints
   increase i to the next selected waypoint
end loop
Reply


Messages In This Thread
RE: feature request: approximate a route by a track - by bekker - 28.02.2010, 13:35

Forum Jump:


Users browsing this thread: 5 Guest(s)