Generate 6010 error code


#1

hi team, When i try to access http://localhost:8080/ors/v2/matrix/driving-car it generate an error

{
“error”: {
“code”: 6010,
“message”: “Source point(s) [0, 1, 2, 3] out of bounds: 48.477473,9.70093; 49.153868,9.207916; 55.801281,37.573242; 38.106467,115.663757. Destination point(s) [0, 1, 2, 3] out of bounds: 48.477473,9.70093; 49.153868,9.207916; 55.801281,37.573242; 38.106467,115.663757”
},
“info”: {
“engine”: {
“version”: “5.0.1”,
“build_date”: “2019-06-06T05:48:35Z”
},
“timestamp”: 1559806724833
}
}

what is the mistake I did??


#2

Which OSM file did you use? If you didn’t change anything in docker-compose.yml then it’s Heidelberg and your queries for Laichingen won’t work.


#3

yeap, now i have changed the osm file (sri-lanka-latest.osm.pbf). then I recreate docker image using docker-compose up comand, but still generate same error after try out the api

this time i tried {“locations”:[[7.0280,79.9230],[6.9224,79.8661]]} as body, token has included on headers under “Authorization”

{
“error”: {
“code”: 6010,
“message”: “Source point(s) [0, 1] out of bounds: 79.923,7.028; 79.8661,6.9224. Destination point(s) [0, 1] out of bounds: 79.923,7.028; 79.8661,6.9224”
},
“info”: {
“engine”: {
“version”: “5.0.1”,
“build_date”: “2019-06-06T05:48:35Z”
},
“timestamp”: 1559809151174
}
}


#4

Here is my docker.composer file right now