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
270 stars 26 forks source link

fix graphhopper provider when encode_points=False #63

Closed nilsnolde closed 2 years ago

nilsnolde commented 2 years ago

fixes #54

documentation is ambiguous.. the docstring says it's a flat array of lon/lat in points but the swagger example on the right side says it's a geojson geometry: https://docs.graphhopper.com/#operation/getRoute/points_encoded. I implemented it as geojson geometry, too lazy to actually try.

nilsnolde commented 2 years ago

yeah right, thanks, totally overlooked that!