Calculating walking time and driving time from dataset coordinates (British National Grid:Eastling&Northling)?

265 Views Asked by At

I am trying to find a way to get the travel time for both walking and driving for my dataset. Using ArcGIS I was able to get the liner/planar line that connects them but I do not know how to get the travel times. After days spent trying, I am switching to a more practical solution in R!

edit: I have a dataset with 2 sets of coordinates, origin and destination, where each point has its own origin (where the journey started) and a destination (where the journey ended). What I want to do is calculate the driving time and the walking time for these points.

Thank you!

1

There are 1 best solutions below

3
Tibo On

Google is perhaps the best API for driving distance, Googleway is an R package allowing you to compute distances

https://www.rdocumentation.org/packages/googleway/versions/2.7.1

I did the same kind of task but directly from Gsheet/Appscript then sending it back to R: https://developers.google.com/apps-script/quickstart/custom-functions

I'm not sure it answers your question but hope it help.