I want to generate a distance matrix for more than 50 points with my own OSRM server. Because I want to minimize the number of calls, I decided to increase the size of the query from 50 to 100 or even more.

This is the answer of OSRM with 100 loc

  status_message: "Number of bearings does not match number of coordinates."



I imagine there are limits, but is it possible to increase this limit?


The solution was launching the osrm-routed increasing the parameter --max-table-size with the desired size.

osrm-routed --max-table-size=1000 map.osrm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.