Skip to content
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

Routing error on invalid coordinates #975

Open
jcoupey opened this issue Aug 28, 2023 · 0 comments
Open

Routing error on invalid coordinates #975

jcoupey opened this issue Aug 28, 2023 · 0 comments

Comments

@jcoupey
Copy link
Collaborator

jcoupey commented Aug 28, 2023

Assigning coordinates that make no sense to a job, e.g. "location":[8497734.0,49909096.0] results in an obscure routing error when using OSRM:

[Error] Query string malformed close to position 14
{"code":3,"error":"Query string malformed close to position 14"}

Maybe the relayed message is clearer with other engines, but altogether this should really be a "code":2 (input error), with an explicit message about some location being crap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant