Matrix.durations worked correctly, but Matrix.distances is completely empty.
Here's what I was expecting
I was expecting Matrix.durations and Matrix.distances to be acquired, but only received Matrix.durations.
Here's what I think could be improved
If annotations='distance,duration' could be used as default, instead of only 'duration', I think we should be able to get both the durations and distances matrices.
Here's what I did
from routingpy.routers import OSRM
router = OSRM(requests_kwargs={'proxies': {'https': '129.125.12.0'}}) client = OSRM(base_url='http://localhost:5000') Matrix=OSRM.matrix(client, locations=addresses, profile='car', dry_run=True)
dry_run results: url: http://localhost:5000/table/v1/car/-75.567589,6.191159;-75.558888,6.2834;-75.554428,6.303507;-75.508671,6.342607;-75.571788,6.174933;-75.566615,6.184022? Parameters: { "headers": { "User-Agent": "routingpy/v0.2.7", "Content-Type": "application/json" }, "timeout": 60 }
Here's what I got
Matrix.durations worked correctly, but Matrix.distances is completely empty.
Here's what I was expecting
I was expecting Matrix.durations and Matrix.distances to be acquired, but only received Matrix.durations.
Here's what I think could be improved
If annotations='distance,duration' could be used as default, instead of only 'duration', I think we should be able to get both the durations and distances matrices.