Vehicle Limitation Help

Hey everyone,

I know there are other posts about this in the forum but they are rather vague and I wasn’t able to understand how to get started.

I am trying to open the vehicle limitation to exceed 5 vehicles at a time but I do not know how to set up the backend. I currently have a python notebook that relies on this ors package but I don’t know how to change it off of that package or what I need to do after I set up the backend on Docker.

I apologize if my question doesn’t make much sense but I am not sure how to begin setting up ors locally.

Thank you!


I guess you’re talking about the optimization endpoint.
It’s using VROOM, have a look at this thread.

Best regards

Hey jschnell,

Thank you for your response. I have viewed that thread but I don’t think I have the knowledge past the installation. I used docker to install ors and I can run it but I don’t know how to use that in my python notebook. I thought that I would be able to replace my api key with base_url = http://localhost:8080/ors however that didn’t work.

Thank you for your time!


if you’re able to run ors, you should be able to get something like this:

you@yourmachine:~ $ curl localhost:8080/ors/v2/health 

If this is the case, then using localhost:8080/ors as a base url should work - but only for directions, isochrones and matrix.

Note, that you cannot access vroom through ors. If you have vroom setup, you’ll have to point to the port of the vroom service for any optimization call.
Your vroom config then has to reflect the ors port, so vroom can find the running ors.

Best regards