[GIS] TooBig: Increasing OSRM # of coordinates

open-source-routing-machineopenstreetmap

I'm trying to plan out a very specific route using OSRM. I have 100 coordinates & now I'm running into this error.
Too many trip coordinates. Is there a way to increase the number of coordinates I'm allowed to enter?

Best Answer

If you're running your own instance of OSRM, you can set this in the arguments you pass to osrm-routed:

  • --max-viaroute-size
  • --max-trip-size
  • --max-table-size
  • --max-matching-size

Use osrm-routed --help for a full list of options.

If you're using someone else's OSRM server (such as the Project OSRM demo server), however, you're dependent on what options they have set!