gsk3 / taRifx.geo

taRifx.geo package for R, available on CRAN
9 stars 8 forks source link

Transit Distances using georoute function #5

Open gsmishra opened 9 years ago

gsmishra commented 9 years ago

Hello I want to calculate transit times between various origin - destination pairs.

As per the manual (Page 8, http://cran.r-project.org/web/packages/taRifx.geo/taRifx.geo.pdf), the georoute function should give transit distances and times. I compared the results with distance/time reported directly by the Bing Maps interface. The results seem to driving distances and time and not transit distance.

For example, georoute( c("San Francisco", "94536"), verbose=FALSE, returntype = c("time", "distance")) returns 2,682 seconds which is the driving time reported by Bing Maps. The transit time is around 4200 seconds.

Please advise.