On Aug 14, 1:54 pm, erdc <[email protected]> wrote: > Hi all, > > I was wondering whether there is a way to convert a series of lat/long > points (let's say a 100 of them) to driving directions between them, > and then export the entire route in a form of another series of lat/ > long points. Hopefully export it as CSV. > > To rephrase, what I'd like to do is: > --------------------------------------------- > 1. I currently have a CSV that contains 100s of lat/long points. > 2. consider each of those points as a destination, generate a single > driving route that visits all of them. > 3. export the lat/long data points of the route in CSV. > --------------------------------------------- > > As I am a complete stranger to this world, I appreciate any kind of > input on this matter. > "yes it is possible" would be sufficient for me, even though I'd like > to learn more about where I should start.
Sounds like overkill. The GDirections class will only take up to 25 waypoints. Do your gps tracks follow roads? If not, this won't work (in fact if the actual path you took is not allowed by the routing engine, it won't be possible; except perhaps as walking directions). A better strategy might be to preprocess the GPS tracks to reduce the number of points. If you can reduce it to 25 you can do it in a single GDirections call. Also be warned, GDirections calls are subjected to a quota and rate limiting, so making too many of them too quickly will cause them to fail. Also be sure to read the terms of use to make sure your use is allowed. -- Larry > > Thanks, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
