All Questions
Tagged with google-directions-api python
12 questions
0
votes
1
answer
106
views
How do I mention only the major highways as output rather than local roads?
I am using Directions API to get a route segment (list of destinations to reach a particular destination).
origin = "New York"
destination = "Ohio"
output: ['2 Murray Street, New ...
0
votes
1
answer
649
views
google maps direction api: python vs javascript
I am facing this weird problem. I've been using the google maps APIs using javascript the whole while and now had to use google maps API using python for some reason.
The issue I'm facing is that I ...
0
votes
1
answer
267
views
Issues with the Encoded Polyline Algorithm Format
I wrote an encoder in python based on the information about the Encoded Polyline Algorithm Format found here.
If I set the number to -179.9832104, like in the example, I get the expected result: "...
-2
votes
1
answer
721
views
PYTHON: Google API directions layers gives OVER_QUERY_LIMIT while displaying route between multiple points after 10 requests
I am working on a project to display routes using google map distance API between point A and B coming from a dataframe, I keep getting the error of "
[directions layer] You have sent too many ...
0
votes
1
answer
318
views
How to get transit route with taxi from Google Directions API?
Google Maps for Android (but not in the Web version) can build a route that contains different kinds of transport like "public transport + taxi" in this topic.
How can I get the route with a taxi from ...
2
votes
1
answer
3k
views
Get distance from Google Cloud Maps Directions API
I'm trying to get the distance between bus stops to get a rough estimate of when the bus is coming. I know there are apps and services that do this, but I want to do it myself.
I got the result ...
-2
votes
1
answer
1k
views
Google Maps Directions API Optimize waypoints with exceeding 23 waypoints
There are several posts already about getting directions to Google Maps API if your waypoints exceed 23, but the answers about it do not account for if optimize_waypoints is True. The difference is, ...
0
votes
1
answer
173
views
Pandas Python matching ID to address using Google Maps Directions API
Using Pandas for Python, I have a dataframe (df) with a list of unique ID's, routes, and addresses. It looks something like this:
<table>
<th>ID</th>
<th>Route</th>...
0
votes
1
answer
841
views
Google Maps Directions API response duration time format - Python
I wrote the Directions API and the response is what I would expect it to be.
Here's the sample response from documentation:
"duration": {
"value": 74384,
"text": "20 hours 40 mins"
},
"...
1
vote
1
answer
274
views
Google direction API: not to translate addresses into English
I am trying to use the Google Direction API service. My addresses are in Chinese, not in English. If I enter the URL directly into the browser, Google returns Chinese addresses. However, if I include ...
1
vote
0
answers
3k
views
google distance matrix with python
My problem is i want to get the distance for around 4000 lat longs . I have used Google Direction matrix service for this. To certain extend it worked fine for me. After that i am getting the error of ...
0
votes
1
answer
803
views
Google directions api - some of the alternate routes go over parks
When using google directions api with the alternatives set to true, some of the suggested routes go over park. Has this behaviour been observed by anyone else? Following is the URL I hit,
http://...