Well, for my purposes, I did not access the http interface via a script or webcrawler, etc. (And John Coryat's comments above mentioned no such thing, either. He said more generally and flatly that such http acces is "not allowed" and there is no http interface to get such directions.)
To clarify, unlike the original poster, who does seem to be working on an automated process to glean data for a database, I am submitting the URL in an interactive test. I either paste the URL into my browser's address bar, or click on a link I have created. (I also omit the output=kml qualifer from the URL, because I just want to render the map and directions in Google Maps.) See my own simple example here: http://maps.google.com/maps?q=from:+30.374239,-97.633008+to:+30.380046,-97.729468+to:+30.370410,-97.721650 John seems to believe that just submitting such http requests will get someone's IP banned from Google Maps, and I am questioning that. Perhaps this is undocumented functionality. (I didn't even know about the to: and from: syntax until I read this original post above.) But I see nothing that makes it illegal per se. On Sep 10, 12:54 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 10, 10:48 am, boomerbubba <[EMAIL PROTECTED]> wrote:> I have looked at > the Terms and Conditions of Google Maps and can find > > nothing that seems to prohibits this usage. > > Did you read this section?http://www.google.com/accounts/TOS > 5.3 You agree not to access (or attempt to access) any of the > Services > by any means other than through the interface that is provided by > Google, unless you have been specifically allowed to do so in a > separate agreement with Google. You specifically agree not to access > (or attempt to access) any of the Services through any automated > means > (including use of scripts or web crawlers) and shall ensure that you > comply with the instructions set out in any robots.txt file present > on > the Services. > > > > > As for feasibility, I > > have tried it interactively in a URL querying directions for 3 > > sequential locations, and it seems to work fine. Perhaps there is a > > limit somewhere in the number of locations or the total length of the > > URL string. > > > I have made an inquiry about this in the Google Maps Help Group, where > > this topic properly belongs since it is not API-related. But I just > > want to post this for the record here because of the comments above. > > > On Sep 9, 5:30 pm, "Barry Hunter" <[EMAIL PROTECTED]> wrote: > > > > Please see the API documentation, if you do intend to stick within the > > > API:http://code.google.com/apis/maps/documentation/services.html#Driving_... > > > See alsohttp://code.google.com/apis/maps/terms.html > > > > As for quering Google Maps directly, please see their own > > > ToUhttp://www.google.com/intl/en_ALL/help/terms_local.html > > > > On Tue, Sep 9, 2008 at 11:22 PM, Zhitao <[EMAIL PROTECTED]> wrote: > > > > > Hi everyone, > > > > > I am trying to build an application on Java that needs to keep records > > > > of a list of address and distance between each pair. I would like to > > > > know if I can query Google Map and get distance for each route in the > > > > direction from kml in a single http request. > > > > > For example: > > > >http://maps.google.com/maps?q=from:+lga+to:+jfk+to:+isp&output=kml > > > > > The output kml has only information of the first part (lga to jfk), > > > > but no information of second part. > > > > > I wonder if I can get all information in kml in one query. > > > > > Thanks > > > > -- > > > Barry > > > > -www.nearby.org.uk-www.geograph.org.uk--Hidequoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
