Questions tagged [travel-time]

This tag points to the questions about duration of travels (travel time studies) using google-api or other similar apis, O/D graphs, road networks, etc.

There are many ways to get/calculate travel time using online or offline databases. Using is the most popular one. Using online websites like Mapnificent.net or TravelTimePlatform.com may meet your need. Please check these resources before posting a question. Moreover, to use TravelTimePlatform api to get time related data refer to TravelTimePlatform Developer Guide.

21 questions
45
votes
6 answers

Map of all points below a certain time of travel?

My question is very simple and can be understood in one line: Is there a way, tool, etc. using Google Maps to get an overlay of all surface which is below a certain time of travel? I hope the question is clear, but I coulnd't find anything related…
jlengrand
  • 12,152
  • 14
  • 57
  • 87
41
votes
6 answers

Using Google Maps API to get travel time data

All the examples I've come across using Google Maps API seem to show a map of some kind. I would like to incorporate the data about the estimated travel time by car they give you when you ask for a road description from A to B into a site. And only…
Felix Andersen
  • 1,381
  • 2
  • 14
  • 26
19
votes
2 answers

Find locations with the same travel time to a destination: Heatmap/Contours based on transportation time (Reverse Isochronic Contours)

Note: Solutions in r or python are desired. I am trying to draw contours based on transportation time. To be more clear, I want to cluster the points which have similar travel time (let's say 10 minute interval) to a specific point (destination) and…
M--
  • 25,431
  • 8
  • 61
  • 93
6
votes
2 answers

Google maps API: calculate remaining time according to predefined route

I'm trying to implement some kind of personal real-time bus tracker and I'm stuck with this problem: let's say that point A is my origin and point E is my destination. Points B, C and D are waypoints defining the specific route for the bus. Every 15…
5
votes
2 answers

Google Directions API transit returns always "ZERO_RESULTS"

i'm developing an app that use google API to obtain a transport solution to reach a location at a desired time. My code that call google API work perfectly with "driving" and "walking" travel mode, but with "transit" and "bicycling" the response is…
3
votes
1 answer

How to gather buses enter/exit stations records into trips to give unique ID, and drop duplicate record with small difference in time?

I have dataset for one bus line every day with 32 buses and two route_direction(0,1), in the first direction there are 18 stations each one have a seq from 1 to 18 and the other direction has 15 station with seq(1-15) and recorded time when…
khaled
  • 51
  • 3
3
votes
1 answer

Driving Distance with Multiple Routes

I'm trying to use the ggmap package with the route() function to obtain driving distance and time from a tibble consisting of multiple pairs of coordinates. Data: locations <- tibble(start_loc = c("44.025135, -69.892204", "44.0175617, -70.0108097"),…
Dan
  • 133
  • 7
3
votes
0 answers

How to exactly reproduce historical ORS-Isochrones?

During the reproduction of historical isochrones created with the API of ORS - openrouteservice.org, I ran into issues with the resolution. About 3 years ago, the returned isochrones had higher resolution than today and there is no option to…
MichiSmith
  • 317
  • 1
  • 7
2
votes
2 answers

is there any formula to get travel time between two locations or from distance in flutter without using google maps

I have two locations and I have the formula to get the distance between them but I want to calculate the travel time between them without using google maps or any API calling. Is there any formula to do that in flutter?
2
votes
1 answer

How to use asynchronous Matrix Routing API v8 from HERE to get travel time response including traffic

I'm after the travel times between a set of nodes (in both directions) including traffic. In the old version of the API (7.2) I would use the following code in Python to request this: payload = { "apiKey": "API_KEY_HERE", …
2
votes
1 answer

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

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…
Alexvtrix
  • 21
  • 2
2
votes
2 answers

Draw time radius around lat/long on map

I am working with the gmapsdistance package in R. I have my API key, and I am familiar with the functions within the package. However, I would like to work out a problem in the reverse direction. Instead of just finding the Time, Distance, and…
el_dewey
  • 97
  • 10
1
vote
1 answer

Travel Time Matrix doesn't seem to be including transit travel times in r5r

I am trying to use the r5r R package to create an isochrone accessibility study involving supermarkets in the City of Cleveland. I started by getting the boundary for the city, created a grid, and generated the centroids for the grid. I then used…
z_11122
  • 153
  • 8
1
vote
1 answer

Folium not recognizing JSON from TravelTime

I'm attempting to create a isochrone map in Jupyter Notebook/Folium, showing how far from downtown Chicago you could get in 45 minutes by car. TravelTime (TravelTime.com) has a ton of excellent APIs to do this, but I'm unable to plot them into…
Krbin
  • 33
  • 2
  • 5
1
vote
0 answers

How to Find the Distance Between Two Columns of Longitude and Latitude in a Pandas Dataframe

I have a dataframe with two different locations on it. I have been able to find their longitude and latitudes using geolocator and using this old Stack Overflow Post. Now I've gotten stuck trying to find the distance between these two columns of…
Emm
  • 123
  • 8
1
2