I'm trying to access the map matching utility and keep getting this error.
import osrmpoints = [(-33.45017046193167,-70.65281867980957), (-33.45239047269638,-70.65300107002258), (-33.453867464504555,-70.65277576446533)]client = osrm.Client()response = client.match(coordinates=points)
I'm a little skeptical since there is no parameter to use the API key for OSRM. Could that be the issue?
ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /match/v1/driving/-33.45017046193167,-70.65281867980957;-33.45239047269638,-70.65300107002258;-33.453867464504555,-70.65277576446533?steps=false&annotations=false&geometries=geojson&overview=simplified&gaps=split (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000029A76AA6E48>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Any help will be appreciated.
Alternatively, a suggestion for another package for map matching in python.
I'm trying to access the map matching utility and keep getting this error.
import osrm
points = [(-33.45017046193167,-70.65281867980957), (-33.45239047269638,-70.65300107002258), (-33.453867464504555,-70.65277576446533)]
client = osrm.Client()
response = client.match(coordinates=points)
I'm a little skeptical since there is no parameter to use the API key for OSRM. Could that be the issue?
ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /match/v1/driving/-33.45017046193167,-70.65281867980957;-33.45239047269638,-70.65300107002258;-33.453867464504555,-70.65277576446533?steps=false&annotations=false&geometries=geojson&overview=simplified&gaps=split (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000029A76AA6E48>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Any help will be appreciated. Alternatively, a suggestion for another package for map matching in python.