Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
72 views

I'm having a "Connection refused" issue with the google-distance matrix-api API when processing a request. This "connection refused" return is seen in a few requests throughout the ...
Apti TI's user avatar
  • 11
1 vote
1 answer
77 views

I need to optimize routes to visit 7,000 points (~700 routes). Should I calculate a Distance Matrix of size 7000 X 7000 = 49,000,000 options? That means I would receive a Google invoice of ~0.005*49M =...
ZetesIL Dev's user avatar
0 votes
0 answers
57 views

I am developing a PHP application to calculate the distance between 2 locations. This is the code: $GOOGLE_API_KEY = <MYAPIKEY> $wayFrom = urlencode($wayFrom); $wayTo = urldecode($wayTo); $url =...
Zeno's user avatar
  • 65
0 votes
1 answer
51 views

We offer customers the option of calculating the distance between to Dutch addresses for things like travel expenses. One of the options we offer is the Google Distance Matrix where they enter two ...
Marco Hokke's user avatar
-1 votes
1 answer
116 views

I've got a list of addresses without city or zip, but in the vicinity of another address. The Google Distance Matrix API is generally able to infer the locale of the destination address from that of ...
NewSites's user avatar
  • 1,845
-1 votes
1 answer
540 views

I am trying to get the time it takes to get from place A to place B, using several mode of transportation: four-wheel, two-wheel, bicycle, and walk. I am stumbled upon the google distance matrix API ...
Steven Christian's user avatar
-1 votes
2 answers
203 views

I'm using the Google Maps API Node Client and calling the distancematrix function, but I'm getting an error that says o.map is not a function. const {Client} = require("@googlemaps/google-maps-...
Brian Zhou's user avatar
0 votes
1 answer
204 views

I'm just starting to use Google Maps APIs and I'm having some trouble when attempting to send a request via Postman to [https://maps.googleapis.com/maps/api/distancematrix?<params>&key="...
Jeff Bryant's user avatar
1 vote
1 answer
83 views

I am planning to take distance and time from a JSON list provided by google distance API however I have no idea how to specifically take the elements, here's the code I use to get the json Future<...
Flutter Beginner's user avatar
1 vote
1 answer
255 views

I'm talking specifically about the quota of type elements per minute per user. I set this value to 150. The documentation says number of elements is origins x destinations. This is how I call the api: ...
Wipster's user avatar
  • 1,571
1 vote
0 answers
137 views

In the google maps user-facing client, you can get ranges on a route's time (e.g. a planned route from London to Edinburgh shows "typically 6 hr 50 min to 8 hr 50 min, Arrive at about 10:30 PM&...
Spycho's user avatar
  • 7,808
0 votes
0 answers
150 views

I have been trying to only get the distance and duration using the Google Distance Matrix API. I tried and built and modified as I logically could but nothing. I even slice the response because I did ...
John Christ BOUMA's user avatar
0 votes
1 answer
379 views

I have been using the Google Maps API's distance matrix. However, this seems to not be working for some cities and I'd need your help to figure out why / what I'm doing wrong. Here's what I'm typing ...
Thomas Gonda's user avatar
-2 votes
1 answer
647 views

I am trying to implement a google maps distance matrix api request using, node JS google Client library. specifically @googlemaps/google-maps-services-js The problem am facing, I can only finds ...
Abdallah Mushi Nourdin's user avatar
-1 votes
1 answer
956 views

On Monday, August 8, 2022 20:37:30(IST) and Sunday, August 14, 2022 17:02:32(IST), when we called Google Distance Matrix API for following source and destination address combination origin_addresses: ...
Sagar Viradiya's user avatar
1 vote
1 answer
902 views

Patients often bypass their nearest hospital to go to another hospital for surgery (- many reasons for that). I have 500,000 patient episodes of patients attending 24 hospitals in the UK. I want to ...
capnahab's user avatar
  • 363
-1 votes
1 answer
68 views

There is a glitch in the GoogleMaps DistanceMatrixApi. For the origin pin code B3H and destination pin code B3J with Travel Mode = DRIVING, the distance returned from the GoogleMaps DistanceMatrixApi ...
Piyush Gupta's user avatar
-1 votes
1 answer
89 views

I'm trying to calculate the driving distance between two coordinate locations. Here's my code: library(tidyverse) library(googleway) distances %>% mutate(distance = google_distance(origins = ...
Umair Shariff's user avatar
0 votes
1 answer
140 views

Previously I used the code below to call the distance matrix api using they python package googlemaps. The call worked last year 2021 but this year (2022) I get an error message to say ...
mobcdi's user avatar
  • 1,622
-1 votes
1 answer
775 views

I'm following this guide: https://developers.google.com/maps/documentation/distance-matrix/distance-matrix And this request works fine for me: $ curl -L -X GET 'https://maps.googleapis.com/maps/api/...
Sam Houston's user avatar
  • 3,701
0 votes
0 answers
52 views

I am building a small project to help find locations to a user and give the distance between the two. I found some code using the distancematrix that works like a charm, that is until I started ...
Dr5056732's user avatar
1 vote
1 answer
258 views

Okay, so i have a list of businesses each with it's own div created via DOM (document.create(div)) blah blah blah div business 1. 12 miles (only shows on first div) div business 2 div business 3 etc. ...
BERRY's user avatar
  • 27
0 votes
0 answers
852 views

I am trying to use the DistanceMatrixService from @react-google-maps/api. One of the required parameters is the 'travelMode'. However, when I tried setting 'travelMode' to 'DRIVING', it shows the ...
nicole's user avatar
  • 1
1 vote
1 answer
73 views

I'm trying to quantify the distance between localities, applying the Google_distance r function. I have run the examples of the Google_distance function, but the distance between localities is missing....
Jose's user avatar
  • 11
1 vote
0 answers
60 views

I have an excel document with every Australian postcode including LONG and LAT coordinates for each. What I need to be able to do is get the travel time from one location in Aus to each of the ...
Nick Jones's user avatar
0 votes
1 answer
111 views

I'm using the client api specification code that was created from their openapi-specifcation located here https://github.com/googlemaps/openapi-specification/releases. (version v1.17.6) I created all ...
Christopher Grimaldi's user avatar
0 votes
1 answer
831 views

We are trying find the optimum route for given sets of addresses. Here optimum route meanibg going every address using shortest distance, We are using Traveling salesman approach to solve this, the ...
Aninda's user avatar
  • 147
0 votes
1 answer
99 views

This is the json output from https://maps.googleapis.com/maps/api/distancematrix/json?origins=rijssen&destinations=almelo&mode=driving&language=en&key= { "destination_addresses&...
Marcel's user avatar
  • 31
1 vote
0 answers
288 views

Am using google's distance matric API in my Android Application https://maps.googleapis.com/maps/api/distancematrix/json?origins=10.016029902612894%2C76.40124697219122&destinations=10....
Bincy Baby's user avatar
  • 4,783
2 votes
4 answers
9k views

I am making my final year project and I am stuck in distance matrix. I am making an app in which I am using google maps, but I don't know how to find the time and distance between two places. I read ...
Asha -'s user avatar
  • 21
0 votes
1 answer
304 views

I have attempted to configure Google API restrictions for the Distance Matrix API. I am using this API from my personal computer only at this time. Eventually, I may also call this from an AWS EC2 ...
DeepBlueSigma's user avatar
1 vote
0 answers
840 views

I am working on the application where I need to calculate the distance between 2 points on road. I am trying to make use of the Google API's to find the same. However, I am seeing the difference in ...
Anup's user avatar
  • 83
0 votes
0 answers
104 views

I have a lat-lng of a location. I want to create a geofence (min radius) around that lat-lng such that the radius of geofence should be just big enough to the nearest road. Say for ex: I am inside a ...
Keerthi Prasad's user avatar
3 votes
1 answer
4k views

I am trying to create a vehicle routing problem for multi-drivers with pickup and drop-off locations. The starting point for each driver is their current location and the ending point would be ...
Rawan G's user avatar
  • 31
0 votes
1 answer
375 views

I want to draw a route without traffic calculation. I try distance matrix service but ı can't find solution so when the response back from distance matrix service ı want to compare the routes and send ...
Hasan Kirtil's user avatar
0 votes
2 answers
881 views

I want to calculate the drive time using the distance matrix API - while doing so I need to calculate the drive time at specific times of the day and therefore I'm using the departure_time parameter. ...
Chipmunk_da's user avatar
-1 votes
1 answer
701 views

Scenario: I get a list of business places from DB and it looks like this <div class="list-items"> .... <div id="distance" data-distance="<?= $placeid; ?>&...
Alexandr Misiyuk's user avatar
0 votes
0 answers
1k views

I used gmapdistance to calculate travel time between two points in New York at different times. Can someone please tell me why is the travel time same and is not varying with time of day? library(...
SiH's user avatar
  • 1,596
0 votes
0 answers
421 views

The below doc says by default the units will show based on the origin. https://developers.google.com/maps/documentation/distance-matrix/overview#units I am testing with two addresses both in USA. I am ...
Sowmyan Soman's user avatar
1 vote
0 answers
56 views

I am trying to figure out exactly how the distance matrix API processes traffic for driving. Currently, I am using the advanced version of the API by specifying a date and time of departure. I use the ...
Trevor Larner's user avatar
1 vote
1 answer
2k views

I am trying to calculate the distances between points by using gmaps.distance_matrix() with a google api. The code outputs unreasonable results, but I can't find where the error is. Here is my code: ...
Wu Kris's user avatar
  • 85
-1 votes
1 answer
1k views

I'm new to using the Google Distance Matrix API, and I keep getting the following error "KeyError: 'distance'" instead of the value for the distance. All solutions to similar problems seem ...
BDC333's user avatar
  • 1
0 votes
1 answer
453 views

I have a requirement to use DestanceMatrix API to calculate the distance between origin to destination. can anyone help me to implement this functionality in the spring boot Application? Thanks in ...
YoBuss's user avatar
  • 49
0 votes
0 answers
299 views

Hello I want to pass multiple path points in google distance matrix API Currently i am passing this "https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins="+...
Hirdesh Singh's user avatar
0 votes
1 answer
482 views

Im trying to find the distance matrix between two points in Google Maps API and im getting this error. Uncaught TypeError: Cannot read property 'apply' of undefined at distance_matrix.js:4 at Ku.j (...
TheKicklighter's user avatar
-1 votes
1 answer
321 views

When searching for distances between two locations from different continents, API is returning ZERO_RESULTS 1.Origin: Otawistraße 40, 13351 Berlin, Germany - place_id ChIJDRnPKt9TqEcRYwjmKskH6gM 2. ...
sam's user avatar
  • 37
2 votes
1 answer
727 views

https://maps.googleapis.com/maps/api/distancematrix/json?units=metric&origins=Neuh%C3%B6fer+Damm+110,Germany&destinations=Vogelweide+8,Hamburg&key=YOUR_API_KEY The API Key is having the ...
Lina Stormwing's user avatar
2 votes
1 answer
281 views

<html> <body> <form action="" method="post"> <label>Origin:</label> <input type="text" name="o" ...
Susan's user avatar
  • 45
0 votes
0 answers
24 views

Problem: I've tried as many ways as I know how and I'm still struggling to return values from googles DistanceMatrixService. What I am trying to do is create a function that takes in an object: { id:...
Oli Kritzler's user avatar
0 votes
1 answer
424 views

I am trying simply to get the distance matrix data but the url just seems not to be working. This is my code, I obviously didn't place the key but that's not the problem import urllib.request import ...
Javier Arevalo Lopez's user avatar

1
2 3 4 5
8