OSRM routing server address

Help Center › API keys & connections › OSRM routing server address

OSRM routing server address

Point VisionScaper at your own OSRM server for driving distances when you do not use a Google server key.

The Route planner needs driving distances. VisionScaper picks the best source it has.

Order of choice

  1. A Google key (the server key, or the main key if the server key is empty).
  2. An OSRM routing server (optional) address you host.
  3. Without either, the planner estimates road miles from straight-line distance.

Before you start

  • A running OSRM server that your website can reach over https://. You or your host must run it. This manual does not cover installing OSRM.

Steps

  1. Open Settings → VisionScaper in WordPress admin.
  2. Find OSRM routing server (optional) in the Basics area.
  3. Type the address, for example https://osrm.example.com.
  4. Press Save Changes.
  5. Try the Route planner.

Rules enforced

  • Only https:// addresses are saved. Any other value is cleared to blank.
  • The address is trimmed of a trailing slash when used.

Tips

  • The public OSRM demo servers are meant for light use. Check their terms.
  • Keep your OSRM data fresh so new roads appear.
  • If you use Google’s Routes API for distances, the OSRM box is not needed.

If something goes wrong

  • The box turns blank after saving: it did not start with https://.
  • The route planner still gives rough mileage: neither Google nor OSRM answered. Test the server address in a browser.
  • The phone app’s dispatch view shows no routing: it reports “osrm” only when this box is filled. Otherwise it shows none. (This reading is from the code and was not tested.)

Related articles

Still need help?

Tell us what you were trying to do and a person will reply.

Contact support