Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

osrm python

url = "http://10.22.168.65:9080/route/v1/driving/-117.851364,33.698206;-117.838925,33.672260"
r = requests.get(url)
res = r.json()
res
Source by www.thinkdatascience.com #
 
PREVIOUS NEXT
Tagged: #osrm #python
ADD COMMENT
Topic
Name
4+6 =