Hi, we have a php web app using Google Maps in the moment where you can check for the nearest shop from your location. Then the 10 nearest shops with driving time are offered. The area which has to be covered is about 100 x 400 km, there are about 100 users per day doing this request (so 1000 times a distance maxtrix has to be called). I am just getting started with OSRM, so I have very basic questions:
So any basic tutorial on how to achieve the task would be very helpful! asked 21 Oct '19, 10:37 Kratz andy mackey |
Installing any routing software on your own server will require command-line access - you certainly won't be able to do it with just PHP. You may find it easier to use a third-party provider. These include Graphhopper, Geofabrik, and Mapbox. Generally these will run OSRM, Graphhopper or Valhalla, which are all OSM-based routing engines. You can then simply call their API from your PHP script. answered 21 Oct '19, 13:31 Richard ♦ |