0
我可以给这个函数起源和目的地的最大数量是多少? 或更好:我可能要求的最大数量的起源 - 目的地组合是多少?Google距离矩阵API:参数的最大数量?
现在我有33个来源和3个目的地 - 它正在工作。 只要我再输入一个目的地 - 发生错误。 它说,像
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 223, in _get
result = self._get_body(resp)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 242, in _get_body
raise googlemaps.exceptions._RetriableRequest()
googlemaps.exceptions._RetriableRequest
During handling of the above exception, another exception occurred:
我的这些线,如12次,并在年底
Traceback (most recent call last):
File "C:\Python34\Lib\site-packages\googlemaps\distance_matrix_test.py", line 41, in <module>
'28821 Coslada','10179 Berlin'], mode='driving')
File "C:\Python34\Lib\site-packages\googlemaps\distance_matrix.py", line 130, in distance_matrix
return client._get("/maps/api/distancematrix/json", params)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 229, in _get
base_url, accepts_clientid, extract_body)
File "C:\Python34\lib\site-packages\googlemaps\client.py", line 184, in _get
raise googlemaps.exceptions.Timeout()
googlemaps.exceptions.Timeout
这将是巨大的,得到的你一些帮助!顺便说一下:我检查了附加地址 - 这不会导致问题。它必须是地址的数量。但我想就此获得专业意见...
谢谢!!!
Hello Tim, 谢谢!我必须重读那个... –