Certain point ORS matrix:Source point(s) [x] out of bounds


#1

Hello.

I’m new on this subject. I have an issue with using `https://api.openrouteservice.org/optimization’. When I request post using python 3, I’m getting following error:

“error” "ORS matrix:Source point(s) [2] out of bounds: 10(x).794325,-6.(xx)6346.

the lat and long is located in southeast asia. Does openrouteservice.org support southeast asian region? If so, how to configure the request.post?

Thank you very much!


#2

Please paste the full request. If possible, minified to only 2-3 locations. Are you sure you’re using [lon, lat], not [lat, lon]? Out of bounds sounds weird though…

Please follow the instructions in the Github repo. I set up an interactive Binder notebook so you can play around remotely, optimization included:
https://mybinder.org/v2/gh/GIScience/openrouteservice-py/master?filepath=examples%2Fbasic_example.ipynb


#3

In case you don’t know how to get the full request, add dry_run=True to your optimization request.


#4

thank you for your response. I’m sorry for the late reply.

it’s solved. I found an error in the request based on your suggestions. thank you for your help!