When using the default onebusaway-docker configuration, *-for-location endpoints always return empty data with outOfRange: true even though you're in the exact center of the region.
http://localhost:8080/onebusaway-api-webapp/api/where/stops-for-location.json?key=TEST&lat=38.555308&lon=-121.735991
{
"code":200,
"currentTime":1723120309387,
"data":{
"limitExceeded":false,
"list":[
],
"outOfRange":true,
"references":{
"agencies":[
],
"routes":[
],
"situations":[
],
"stopTimes":[
],
"stops":[
],
"trips":[
]
}
},
"text":"OK",
"version":2
}
Steps to reproduce:
docker-compose up oba_bundler
docker-compose up oba_app
- Browse to
http://localhost:8080/onebusaway-api-webapp/api/where/agencies-with-coverage.json?key=TEST so you can find the exact center of the agency
{
"code":200,
"currentTime":1723120137641,
"data":{
"limitExceeded":false,
"list":[
{
"agencyId":"unitrans",
"lat":38.555308,
"latSpan":0.03564399999999779,
"lon":-121.735991,
"lonSpan":0.10500400000000809
}
],
"references":{
"agencies":[
{
"disclaimer":"",
"email":"",
"fareUrl":"",
"id":"unitrans",
"lang":"en",
"name":"Unitrans",
"phone":"530-752-BUSS",
"privateService":false,
"timezone":"America/Los_Angeles",
"url":"http://unitrans.ucdavis.edu"
}
],
"routes":[
],
"situations":[
],
"stopTimes":[
],
"stops":[
],
"trips":[
]
}
},
"text":"OK",
"version":2
}
- Browse to
http://localhost:8080/onebusaway-api-webapp/api/where/stops-for-location.json?key=TEST&lat=38.555308&lon=-121.735991
You can also apply a radius of 100Km or change the location to one of the available stops, but you'll always receive the same answer: empty list with outOfRange: true.
Am I missing something?
When using the default onebusaway-docker configuration, *-for-location endpoints always return empty data with outOfRange: true even though you're in the exact center of the region.
http://localhost:8080/onebusaway-api-webapp/api/where/stops-for-location.json?key=TEST&lat=38.555308&lon=-121.735991{ "code":200, "currentTime":1723120309387, "data":{ "limitExceeded":false, "list":[ ], "outOfRange":true, "references":{ "agencies":[ ], "routes":[ ], "situations":[ ], "stopTimes":[ ], "stops":[ ], "trips":[ ] } }, "text":"OK", "version":2 }Steps to reproduce:
docker-compose up oba_bundlerdocker-compose up oba_apphttp://localhost:8080/onebusaway-api-webapp/api/where/agencies-with-coverage.json?key=TESTso you can find the exact center of the agency{ "code":200, "currentTime":1723120137641, "data":{ "limitExceeded":false, "list":[ { "agencyId":"unitrans", "lat":38.555308, "latSpan":0.03564399999999779, "lon":-121.735991, "lonSpan":0.10500400000000809 } ], "references":{ "agencies":[ { "disclaimer":"", "email":"", "fareUrl":"", "id":"unitrans", "lang":"en", "name":"Unitrans", "phone":"530-752-BUSS", "privateService":false, "timezone":"America/Los_Angeles", "url":"http://unitrans.ucdavis.edu" } ], "routes":[ ], "situations":[ ], "stopTimes":[ ], "stops":[ ], "trips":[ ] } }, "text":"OK", "version":2 }http://localhost:8080/onebusaway-api-webapp/api/where/stops-for-location.json?key=TEST&lat=38.555308&lon=-121.735991You can also apply a radius of 100Km or change the location to one of the available stops, but you'll always receive the same answer: empty list with outOfRange: true.
Am I missing something?