gis-ops / routingpy

🌎 Python library to access all public routing, isochrones and matrix APIs in a consistent manner.
https://routingpy.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
252 stars 26 forks source link

Fixes taking into account the `preference` parameter when calculating isochrones and matrix with Valhalla #121

Closed mthh closed 8 months ago

mthh commented 8 months ago

Closes #120 (as pointed in https://github.com/gis-ops/routingpy/issues/120#issuecomment-1781261210 I took care of the matrix function which exhibited the same behavior as the isochrone one with regard to the preference parameter).

In the tests, I chose to modify the ENDPOINTS_QUERIES and ENDPOINTS_EXPECTED objects to include the preference parameter, rather than adding new tests specifically for this (but I can do it differently if you wish).