-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isochrome no longer working #61
Comments
I'm doing a little digging into this as well. Please note: I'm only considering driving examples right now. Also please note: I could be completely wrong about everything. (It's happened before) As far as I can tell, the problems seem to be two, potentially three fold. First problem:, Getting greedy. It seems that we can get an error back from the server that says "Request-URI Too Long. The requested URL's length exceeds the capacity limit for this server." This response is HTML, not JSON. The code Second problem: Whenever the OSRM server isn't able to find a given destination in the A few ideas on potential solutions If there is different logic running on the origin vs. destination parsing, what might OSRM be doing? Honestly, outside of a hunch, I have no idea, but when reading the documentation I stumbled upon the OSRM's Nearest Service API Endpoint. A potential solution to may be to use the If someone else has some ideas, please share. As I said at the start, and as my 3rd ex-wife always reminds me, I could be completely wrong about everything. |
I get the following error no matter what options I use including the exact example code.
"The OSRM server returned an error:
Error: lexical error: invalid char in json text.
<!DOCTYPE HTML PUBLIC "-//IETF/
(right here) ------^"
The text was updated successfully, but these errors were encountered: