I'm looking for some online resources that would allow me to select 10 locations (e.g., 10 cities or 10 landmarks in a city), and would return the time it takes to drive/walk/use public transportation between each pair of location. (i.e, the resource would return a 10x10 matrix where each cell i,j represents the time it takes to go from i to j).
-
3The Google Distance Matrix API does pretty much exactly this, but it's meant for developers, not end users: developers.google.com/maps/documentation/distance-matrix/start– lambshaanxyCommented Dec 24, 2022 at 12:18
-
3Wouldn’t it be more useful if it just solves TSP for you?– JonathanReez ♦Commented Dec 24, 2022 at 15:04
-
1@Hilmar globally but US is one of my main interests– Franck DernoncourtCommented Dec 24, 2022 at 15:51
-
2@JonathanReez I actually don't plan to visit all nodes, just to get a sense of the travel distance between each pair.– Franck DernoncourtCommented Dec 24, 2022 at 15:52
-
3You need to open an account to use Google Distance Matrix API. It used to be free, but now there is a free usage bandwidth allowance. Above this usage limit your requests are billed to you.– Weather VaneCommented Dec 24, 2022 at 17:18
|
Show 2 more comments
1 Answer
I've used a route planner that accepts up to 25 places and shows the distance required to visit all of them driving. Lets you select many different routes, for comparison. Also lets you say how much time you want to spend in each place, for a total time estimate. And it lists each route in a format similar to a railroad timetable, so you can see how long each leg takes.
-
1This is a route planner for calculating a single route between cities, not the distance matrix requested by the OP. Commented Dec 25, 2022 at 11:31
-
1It will show the distance for each leg, AND it allows selecting different routes to get different pair of cities. Thus, it provides all the information to put into such a matrix. Since nothing else has been offered, it's the closest thing I know of. It's a bit easier than individually looking up each pair separately.– WGroleauCommented Dec 25, 2022 at 18:34