On Mar 17, 8:32 pm, Ravi Chandra Prodduturi <[email protected]>
wrote:
> I actually found we can do something with REST query. Here is a sample:

Read the TOU.  That is not a legal query (at least last time I read
them).

>

> http://maps.google.com/maps/nav?output=js&q=50321%20to%2050265&key=yo...
>
> Output:
>
> {"name":"50321 to
> 50265","Status":{"code":200,"request":"directions"},"Placemark":[{"id":""," 
> address":"Des
> Moines, IA 
> 50321","AddressDetails":{"Country":{"CountryNameCode":"US","AdministrativeA 
> rea":{"AdministrativeAreaName":"IA","SubAdministrativeArea":{"SubAdministra 
> tiveAreaName":"Polk","Locality":{"LocalityName":"Des
> Moines","PostalCode":{"PostalCodeNumber":"50321"}}}}},"Accuracy":
> 5},"Point":{"coordinates":[-93.672465,41.532734,0]}},{"id":"","address":"We st
> des Moines, IA 
> 50265","AddressDetails":{"Country":{"CountryNameCode":"US","AdministrativeA 
> rea":{"AdministrativeAreaName":"IA","SubAdministrativeArea":{"SubAdministra 
> tiveAreaName":"Polk","Locality":{"LocalityName":"West
> des Moines","PostalCode":{"PostalCodeNumber":"50265"}}}}},"Accuracy":
> 5},"Point":{"coordinates":[-93.733354,41.550736,0]}}],"Directions":{"copyri 
> ghtsHtml":"Map
> data \u0026#169;2009 Tele Atlas ","summaryHtml":"7.0\u0026nbsp;mi
> (about 17 
> mins)","Distance":{"meters":11291,"html":"7.0\u0026nbsp;mi"},"Duration":{"s 
> econds":1042,"html":"17
> mins"},"Routes":[{"Distance":{"meters":11291,"html":"7.0\u0026nbsp;mi"},"Du 
> ration":{"seconds":1042,"html":"17
> mins"},"summaryHtml":"7.0\u0026nbsp;mi (about 17
> mins)","Steps":[{"descriptionHtml":"Head
> \u003Cb\u003Esouth\u003C\/b\u003E on \u003Cb\u003ESW 42nd
> St\u003C\/b\u003E toward \u003Cb\u003ESW 64th
> Ave\/\u003Cwbr\/\u003EArmy Post
> Rd\u003C\/b\u003E","Distance":{"meters":661,"html":"0.4\u0026nbsp;mi"},"Dur 
> ation":{"seconds":95,"html":"1
> min"},"Point":{"coordinates":[-93.674240,41.532730,0]},"polylineIndex":0},{ 
> "descriptionHtml":"\u003Cb\u003ESW
> 42nd St\u003C\/b\u003E turns slightly
> \u003Cb\u003Eright\u003C\/b\u003E and becomes \u003Cb\u003ESW 64th
> Ave\/\u003Cwbr\/\u003EArmy Post
> Rd\u003C\/b\u003E","Distance":{"meters":1885,"html":"1.2\u0026nbsp;mi"},"Du 
> ration":{"seconds":171,"html":"2
> mins"},"Point":{"coordinates":[-93.674500,41.526810,0]},"polylineIndex":4}, 
> {"descriptionHtml":"Turn
> \u003Cb\u003Eright\u003C\/b\u003E at
> \u003Cb\u003EIA-28\u003C\/b\u003E","Distance":{"meters":4844,"html":"3.0\u0 
> 026nbsp;mi"},"Duration":{"seconds":315,"html":"5
> mins"},"Point":{"coordinates":[-93.697070,41.526590,0]},"polylineIndex":9}, 
> {"descriptionHtml":"Turn
> \u003Cb\u003Eleft\u003C\/b\u003E at \u003Cb\u003ERailroad
> St\u003C\/b\u003E","Distance":{"meters":1267,"html":"0.8\u0026nbsp;mi"},"Du 
> ration":{"seconds":209,"html":"3
> mins"},"Point":{"coordinates":[-93.703100,41.569420,0]},"polylineIndex":28} 
> ,{"descriptionHtml":"Turn
> \u003Cb\u003Eleft\u003C\/b\u003E at \u003Cb\u003ES 11th
> St\u003C\/b\u003E","Distance":{"meters":475,"html":"0.3\u0026nbsp;mi"},"Dur 
> ation":{"seconds":53,"html":"53
> secs"},"Point":{"coordinates":[-93.718320,41.569830,0]},"polylineIndex":30} 
> ,{"descriptionHtml":"Turn
> \u003Cb\u003Eright\u003C\/b\u003E to stay on \u003Cb\u003ES 11th
> St\u003C\/b\u003E","Distance":{"meters":110,"html":"361\u0026nbsp;ft"},"Dur 
> ation":{"seconds":11,"html":"11
> secs"},"Point":{"coordinates":[-93.716880,41.565900,0]},"polylineIndex":36} 
> ,{"descriptionHtml":"Slight
> \u003Cb\u003Eright\u003C\/b\u003E","Distance":{"meters":2049,"html":"1.3\u0 
> 026nbsp;mi"},"Duration":{"seconds":188,"html":"3
> mins"},"Point":{"coordinates":[-93.717570,41.565120,0]},"polylineIndex":40} 
> ],"End":{"coordinates":[-93.735720,41.552703,0]},"polylineEndIndex":48}],"P 
> olyline":{"id":"route","points":"qzn|f~vvzpjuez...@^??`@dajvabfqa...@??sqji 
> g...@whpaop~f_indev~juihc}ffaid\\ufxyoiuud_pp@qz?cukqmd...@okm??qab~a??hbetc} 
> @t...@a@fCqD??j@@`...@vlanb??t@x...@xapcvetopvnilnxblcf]zj@nGvK","levels":"B??B
>  b???b...@?????@????????bbb...@?bb??bb???????b","numLevels":4,"zoomFactor":1 
> 6}}}
>
> On Tue, Mar 17, 2009 at 6:29 PM, [email protected]
> <[email protected]>wrote:
>
>
>
> > On Mar 17, 1:51 pm, Ravi Chandra Prodduturi <[email protected]>
> > wrote:
> > > Does the API support RSS? I mean can I get the result back in RSS format
> > by
> > > using a REST query?
>
> > Not for directions.
>
> > > On Tue, Mar 17, 2009 at 3:01 PM, Rossko <[email protected]>
> > wrote:
>
> > > > > I want to use the maps API to calculate the routes between places.
> > Could
> > > > you
>
> > > > You're not allowed to do that unless you display the results on a map.
>
> > > > > let me know if there's any other way?
>
> > > > Not that I know of, you could look at the terms for other well-known
> > > > services like Yahoo ?
>
> > > > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to