Hi John, Thanks for you note. I wasn't sure if I could run this type of code on Google Map.
I could use TransCAD to compute distances between any points of interest, and simply wanted to make sure that those distances by TransCAD are close to ones computed by Google Map. Straight distances are not quite useful for pairs of zip codes that are connected with winding roads. I thought I would like to use this type of code on Google map in Japan as we do not have free reliable network data I could use on TransCAD or ArcGIS... Taka On Sun, May 30, 2010 at 1:49 AM, maps.huge.info [Maps API Guru] < [email protected]> wrote: > I believe you will run afoul of the terms for Google maps by doing > this. > > Driving directions between Zip Codes is not going to be very accurate > or useful. You might consider using straight line distance using the > Haversine formula. You could compute your distances a lot easier and > all you would need to do is get the centroids of your zip codes. > > -John Coryat > > http://maps.huge.info > > http://www.usnaviguide.com > > http://www.zipmaps.net > > -- > 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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- 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.
