python-osrm
python-osrm copied to clipboard
A Python wrapper around the OSRM API
What does it mean when I get HTTP Error 403: Forbidden, and how can I fix it?
Fixxed Issue#59 (now it works both with new and old versions of Polyline package)
I try to install osrm on Ubuntu 22.04. Installed the dependencies as listed in the README: ``` GDAL==3.4.3 geopandas==0.14.0 numpy==1.26.0 osrm==0.11.3 pandas==2.1.1 polyline==2.0.0 ``` Apart from that I installed gdal-bin...
instead of reverting to older version - please consider following changes to core.py - seems i can not open a PR # -*- coding: utf-8 -*- import numpy as np...
Code adds a start to the URL path This is needed in case someone needs to use the demo server URL router.project-osrm.org/*/v1/car however in other case the star does not...
As of this [commit](https://github.com/frederickjansen/polyline/commit/0c74cd232bf7f6440a441db1f960b9ab95d96141#diff-255d46bb85796b3af91868f620da8a4b2b36f64c6daf427c62ca27bcc67b5a50), from December 2022, this package is referencing an out of date class from polyline. The methods from the PolylineCodec class were moved to be stand alone...
Hi, I am working on python 3.8, I have installed both GDAL and Fiona:- ``` Fiona-1.8.19-cp38-cp38-win_amd64.whl GDAL-3.2.2-cp38-cp38-win_amd64.whl ``` Then I executed `pip install osrm` Everything was successfully installed But I...
The internal dealing with URL make routing.openstreetmap.de unable to use. MyConfig = osrm.RequestConfig("routing.openstreetmap.de/routed-foot/route/v1/driving") But try to access to `/route/v1/driving/polyline`. ```python import osrm MyConfig = osrm.RequestConfig("routing.openstreetmap.de/routed-foot/route/v1/driving") result = osrm.simple_route([-3.7692, 40.4313], [-3.7420,...
ImportError: cannot import name 'griddata' from 'matplotlib.mlab'
Hi, I'm trying to use the `match` function with the following... ``` import osrm OSRM_AUTH=('user', 'pass') OSRM_VERSION = 'v1' OSRM_PROFILE = 'driving' OSRM_HOST = 'http://router.project-osrm.org' osrm.RequestConfig.host = OSRM_HOST osrm.RequestConfig.version =...